add debug logging
1 file changed, 2 insertions(+), 0 deletions(-)
changed files
M internal/config/config.go → internal/config/config.go
@@ -2,6 +2,7 @@ package config import ( "io/fs" + "log/slog" "github.com/BurntSushi/toml" "github.com/pkg/errors"@@ -35,6 +36,7 @@ } func GetConfig() (*Config, error) { config := Config{} + slog.Debug("reading config.toml") _, err := toml.DecodeFile("config.toml", &config) if err != nil { var pathError *fs.PathError