From 982c3321e0038211faaa4fab451ae121cf873374 Mon Sep 17 00:00:00 2001 From: Catherine Date: Thu, 20 Nov 2025 04:11:57 +0000 Subject: [PATCH] Reword some log messages. NFC --- src/main.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.go b/src/main.go index b33ac77..7324035 100644 --- a/src/main.go +++ b/src/main.go @@ -339,8 +339,7 @@ func Main() { // The backend is not recreated (this is intentional as it allows preserving the cache). OnReload(func() { if newConfig, err := Configure(*configTomlPath); err != nil { - log.Println("config:", err) - log.Println("config: reload error") + log.Println("config: reload err:", err) } else { // From https://go.dev/ref/mem: // > A read r of a memory location x holding a value that is not larger than @@ -356,9 +355,9 @@ func Main() { ); err != nil { // At this point the configuration is in an in-between, corrupted state, so // the only reasonable choice is to crash. - log.Fatalln("config: reload failure:", err) + log.Fatalln("config: reload fail:", err) } else { - log.Println("config: reloaded") + log.Println("config: reload ok") } } })