From a978bb36f7fb9defbb34380857d70160f3433ee3 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Wed, 30 Jul 2025 21:25:34 -0400 Subject: [PATCH] fix(config): pass err to log --- internal/config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/config.go b/internal/config/config.go index 1c8d463..5901371 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -64,7 +64,8 @@ func DefaultPath() string { path, err := os.UserConfigDir() if err != nil { slog.Info( - "user config directory path cannot be determined; falling back to the current directory path", + "user config dir cannot be determined; falling back to the current dir", + "err", err, ) path = "." }