template: report errors/warnings

error field is now logged at all points of use.
This commit is contained in:
Harvey Tindall
2025-08-03 18:39:47 +01:00
parent 5d49a56d94
commit aab8d6ed77
4 changed files with 84 additions and 26 deletions
+2
View File
@@ -345,6 +345,8 @@ const (
)
const (
FailedConstructCustomContent = "Possible error in custom content \"%s\": %v"
FailedConstructExpiryAdmin = "Failed to construct expiry notification for \"%s\": %v"
FailedSendExpiryAdmin = "Failed to send expiry notification for \"%s\" to \"%s\": %v"
SentExpiryAdmin = "Sent expiry notification for \"%s\" to \"%s\""