From 2f65c6b2f03d4b8908422e63788d8775b5d64a8f Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Mon, 10 May 2021 14:48:23 -0500 Subject: Add err to log (#15813) Signed-off-by: jolheiser --- modules/doctor/dbversion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/doctor') 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 } -- cgit v1.2.3