mirror of
https://github.com/decke/smtprelay.git
synced 2025-12-26 02:22:29 -07:00
config: Show error output from parser if it fails (#79)
This commit is contained in:
@@ -200,6 +200,7 @@ func ConfigLoad() {
|
|||||||
ff.WithConfigFileFlag("config"),
|
ff.WithConfigFileFlag("config"),
|
||||||
ff.WithConfigFileParser(IniParser),
|
ff.WithConfigFileParser(IniParser),
|
||||||
); err != nil {
|
); err != nil {
|
||||||
|
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user