[TASK] tip in config load arrow

This commit is contained in:
Martin/Geno 2019-02-14 12:55:09 +01:00
parent 1d856fa2ce
commit 58b2679492
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func main() {
config := &runtime.Config{} config := &runtime.Config{}
if err := file.ReadTOML(configFile, config); err != nil { if err := file.ReadTOML(configFile, config); err != nil {
log.Panicf("error on read config: %s", err) log.WithField("tip", "maybe call me with: hook2xmpp--config /etc/hook2xmpp.conf").Panicf("error on read config: %s", err)
} }
log.SetLevel(config.LogLevel) log.SetLevel(config.LogLevel)