diff options
author | John Olheiser <john.olheiser@gmail.com> | 2021-05-10 14:48:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 20:48:23 +0100 |
commit | 2f65c6b2f03d4b8908422e63788d8775b5d64a8f (patch) | |
tree | ea44970c8481f40db30a945f04e2ccfc03db8a03 /modules/doctor | |
parent | d37a89ed059a8fb7707ddb17da575656c4fe6e37 (diff) | |
download | gitea-2f65c6b2f03d4b8908422e63788d8775b5d64a8f.tar.gz gitea-2f65c6b2f03d4b8908422e63788d8775b5d64a8f.zip |
Add err to log (#15813)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/doctor')
-rw-r--r-- | modules/doctor/dbversion.go | 2 |
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 } |