mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 08:42:32 -05:00
Add err to log (#15813)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
d37a89ed05
commit
2f65c6b2f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue