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 authored and action_bot committed Jun 19, 2024
1 parent 77e13d3 commit 46eb70e
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 @@ -135,6 +135,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 46eb70e

Please sign in to comment.