config: Show error output from parser if it fails (#79)

This commit is contained in:
Bernhard Froehlich
2022-08-02 10:46:25 +00:00
parent 20ad1e84f9
commit dffe0bb5bb

View File

@@ -200,6 +200,7 @@ func ConfigLoad() {
ff.WithConfigFileFlag("config"),
ff.WithConfigFileParser(IniParser),
); err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err)
os.Exit(1)
}