Skip to content

Commit

Permalink
Add missing cause to error message
Browse files Browse the repository at this point in the history
  • Loading branch information
geertw committed Jan 1, 2024
1 parent eee79b8 commit e64ebf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/translations.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func TranslateCause(causeLong string) string {
}

// Unknown translation, return original
log.WithField("cause", causeLong).Warn("No translation for cause")
log.WithField("cause", causeLong).Warnf("No translation for cause: %s", causeLong)
return causeLong
}

Expand Down

0 comments on commit e64ebf9

Please sign in to comment.