fix error formatting

config.Logger.Error does not want a format string.
This commit is contained in:
jrapoport 2021-01-14 20:41:10 -08:00 committed by GitHub
parent 79628be2c2
commit be68656b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ func Open(dialector Dialector, config *Config) (db *DB, err error) {
} }
if err != nil { 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 return