diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-01-05 20:00:36 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-01-05 20:00:36 +0100 |
commit | 3e34c08d9b265597f4bfb546eabffd3d4e687d3d (patch) | |
tree | 8b87d45bdbebbdc3d6b93467cb1b209b19aea693 /src | |
parent | 5c6e0ec994c6780749f7b4ead31d48dac0a50a43 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/i18n.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/i18n.go b/src/i18n.go index e8ad2ea..03a6951 100644 --- a/src/i18n.go +++ b/src/i18n.go @@ -244,9 +244,11 @@ func (p Printer) M(val any) string { case float64: vstr = f("%.2f", val) default: - if err := email.ServerError(badMType{"TODO"}); err != nil { - log.Print(err) - } + go func() { + if err := email.ServerError(badMType{"TODO"}); err != nil { + log.Print(err) + } + }() /* Hopefully this never happens */ vstr = "ERROR" } |