From c27ad2e269d8cfa6b3a0007317ca19d47994b49f Mon Sep 17 00:00:00 2001 From: Brad Jones Date: Mon, 29 Dec 2025 14:19:13 -0800 Subject: [PATCH] Report connection errors on stderr for better debugging of problems. --- calblink.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calblink.go b/calblink.go index 2c31c6b..0e9fc07 100644 --- a/calblink.go +++ b/calblink.go @@ -192,7 +192,7 @@ func runLoop(p *program) { if failures > failureRetries { MagentaFlash.Execute(blinkerState) } - fmt.Fprintf(debugOut, "Fetch Error:\n%v\n", err) + fmt.Fprintf(os.Stderr, "Error receiving events from server:\n%v\n", err) fmt.Fprint(dotOut, ",") nextEvent = now.Add(time.Duration(userPrefs.PollInterval) * time.Second) continue