From e3cb5b39b33391882cba625b1fcca14aeb730091 Mon Sep 17 00:00:00 2001 From: Samir Faci Date: Mon, 20 Nov 2023 10:36:48 -0500 Subject: [PATCH] Addressing Code review comments --- cmd/gen/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gen/main.go b/cmd/gen/main.go index 7ee20ae7..143d9fa8 100644 --- a/cmd/gen/main.go +++ b/cmd/gen/main.go @@ -35,7 +35,7 @@ func main() { if *showTemplateCfg { data, err := yaml.Marshal(cfg.GetTemplateConfig()) if err != nil { - slog.Error("unable to load template configuration") + log.Fatalf("unable to load template configuration: %v", err) } slog.Info(fmt.Sprintf("Configuration\n%s", string(data))) return