aboutsummaryrefslogtreecommitdiffstats
path: root/modules/doctor
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doctor')
-rw-r--r--modules/doctor/dbversion.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/doctor/dbversion.go b/modules/doctor/dbversion.go
index f82cf72093..c5cac3bf91 100644
--- a/modules/doctor/dbversion.go
+++ b/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
}