summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/i18n.go8
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"
}