From b5de98100d5e3e66c8309aeefc9f944faeffc983 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 24 Mar 2025 07:11:44 +0800 Subject: main.go: Log template execution errors --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 52dd7e4..e900933 100644 --- a/main.go +++ b/main.go @@ -45,6 +45,7 @@ func main() { Global: global, }) if err != nil { + log.Println("Error executing template:", err) } } -- cgit v1.2.3