Skip to content

Commit dffe0bb

Browse files
committed
config: Show error output from parser if it fails (#79)
1 parent 20ad1e8 commit dffe0bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ func ConfigLoad() {
200200
ff.WithConfigFileFlag("config"),
201201
ff.WithConfigFileParser(IniParser),
202202
); err != nil {
203+
fmt.Fprintf(os.Stderr, "error: %v\n", err)
203204
os.Exit(1)
204205
}
205206

0 commit comments

Comments
 (0)