confer
confer copied to clipboard
configReader should not call jww.Fatalf
In ./reader/configreader.go you call jww.Fatalf() which calls log.Fatalf() which calls os.Exit(1) which provides no opportunity for the parent program to recover from a configuration exception, even if done in a goroutine.
Recommend updating these jww.Fatalf() calls to jww.Panicf() so that the program can recover if they have a clean path to do so.
Happy to put together a pull request if you would like.
I believe! Pull request would be appreciated.
Here you go! @ #12