Rm %v string at non Errorf log
This commit is contained in:
parent
e93dc3426e
commit
fe70f818ad
2
gorm.go
2
gorm.go
@ -203,7 +203,7 @@ func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err)
|
||||
config.Logger.Error(context.Background(), "failed to initialize database, got error ", err)
|
||||
}
|
||||
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user