Add err to log (#15813)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser authored and GitHub committed 2021-05-10 20:48:23 +01:00
1 parent d37a89ed05
commit 2f65c6b2f0
1 file changed
+1 -1
+1 -1
View File
@@ -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
}