Skip to content

Commit

Permalink
refactor(logs): add error logs when executing migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
d4x1 committed Jun 19, 2024
1 parent a7b1513 commit c6142f1
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 c6142f1

Please sign in to comment.