Skip to content

Commit

Permalink
refactor(logs): add error logs when executing migrations (#7633)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4x1 committed Jun 19, 2024
1 parent 1e85c14 commit ef00433
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/server/services/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ func ExecuteMigration() errors.Error {
// apply all pending migration scripts
err := migrator.Execute()
if err != nil {
logger.Error(err, "failed to execute migration")
return err
}

Expand Down

0 comments on commit ef00433

Please sign in to comment.