From cbf6878c13874267a6ad3a2b993bbf28b591daa7 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Fri, 10 Jan 2025 22:48:31 +0000 Subject: [PATCH] Update this logging --- cmd/bluebell/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/bluebell/main.go b/cmd/bluebell/main.go index 0c9fc59..d10ccec 100644 --- a/cmd/bluebell/main.go +++ b/cmd/bluebell/main.go @@ -79,12 +79,12 @@ func main() { err = os.MkdirAll(sitesDir, 0770) if err != nil { - logger.Logger.Fatal("Failed to find or create sites directory. Error: ", err) + logger.Logger.Fatal("Failed to find or create sites directory", "err", err) } err = os.MkdirAll(sitesPostHookDir, 0770) if err != nil { - logger.Logger.Fatal("Failed to find or create sites directory. Error: ", err) + logger.Logger.Fatal("Failed to find or create sites directory", "err", err) } sitesFs := afero.NewBasePathFs(afero.NewOsFs(), sitesDir)