From d054c4e7f3243f0a72da6548018b0fcb746ab5b3 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Mon, 10 May 2021 15:38:37 -0500 Subject: [PATCH] Add err to log (#15813) (#15824) Signed-off-by: jolheiser --- modules/doctor/dbversion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }