fix(config): pass err to log

This commit is contained in:
ayn2op 2025-07-30 21:25:34 -04:00
parent b243e2f7f1
commit a978bb36f7

View file

@ -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 = "."
}