From 20bd961c20dcd2c5aa44a2e8593c1fad08a4bdaa Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni <6173598+dpschen@users.noreply.github.com> Date: Thu, 3 Jul 2025 17:06:54 +0200 Subject: [PATCH] fix(config): log fatal when timezone parse fails (#1077) --- pkg/config/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 3fc469b4c..7b3856047 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -253,8 +253,7 @@ func GetTimeZone() *time.Location { if timezone == nil { loc, err := time.LoadLocation(ServiceTimeZone.GetString()) if err != nil { - fmt.Printf("Error parsing time zone: %s", err) - os.Exit(1) + log.Fatalf("Error parsing time zone: %s", err) } timezone = loc }