Browse Source

Add err to log (#15813) (#15824)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
mj-v1.14.3
John Olheiser 2 years ago
committed by GitHub
parent
commit
d054c4e7f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/doctor/dbversion.go

2
modules/doctor/dbversion.go

@ -23,7 +23,7 @@ func checkDBVersion(logger log.Logger, autofix bool) error {
err = models.NewEngine(context.Background(), migrations.Migrate)
if err != nil {
logger.Critical("Error: %v during migration")
logger.Critical("Error: %v during migration", err)
}
return err
}

Loading…
Cancel
Save