From 973fa31b6743a3ea84c86ab7671349cc70a69142 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 29 Jun 2024 21:27:35 +0200 Subject: enable filtered debug logging via DEBUG="component.*" --- cmd/cspgenerator/cspgenerator.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/cspgenerator') diff --git a/cmd/cspgenerator/cspgenerator.go b/cmd/cspgenerator/cspgenerator.go index 1b9b9ba..0252d32 100644 --- a/cmd/cspgenerator/cspgenerator.go +++ b/cmd/cspgenerator/cspgenerator.go @@ -2,12 +2,11 @@ package main import ( "go.alanpearce.eu/website/internal/config" - "go.alanpearce.eu/website/internal/log" ) func main() { err := config.GenerateCSP() if err != nil { - log.Fatal("error generating csp", "error", err) + panic(err) } } -- cgit 1.4.1