diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-12-04 16:03:14 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-12-04 16:03:14 +0300 |
commit | a53367c30c69adafe1f32da247498168b8808645 (patch) | |
tree | 3807e646eca80f0a8cb2555f30ff5c516591928f /daemon.go | |
parent | a0d9ec2632a1392f5a16cbac25e44112c3d56cfa (diff) |
Improve error reporting in the main package
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ func daemonMain() { // read the configuration from the pipe "ExtraFiles" var config appConfig if err := json.NewDecoder(os.NewFile(3, "options")).Decode(&config); err != nil { - fatal(err) + fatal(err, "could not decode app config") } runApp(config) os.Exit(0) |