From e64ebf9fd8dbe55758c559512892cfbac7da8486 Mon Sep 17 00:00:00 2001 From: Geert Wirken Date: Mon, 1 Jan 2024 18:55:11 +0100 Subject: [PATCH] Add missing cause to error message --- models/translations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/translations.go b/models/translations.go index ebf5562..02ddf4e 100644 --- a/models/translations.go +++ b/models/translations.go @@ -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 }