bringg/honey

honey doesn't fail if `config` is bad or unparsable

Closed this issue · 0 comments

I think the following code should check for error not just err == null

honey/pkg/config/config.go

Lines 173 to 175 in 44a568f

if err := configFile.ReadInConfig(); err == nil {
log.Debugln("Using config file:", configFile.ConfigFileUsed())
}