3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-13 07:29:30 +01:00

Make config errors display more nicely

This commit is contained in:
Daniel Oaks 2018-01-23 15:06:33 +10:00
parent 4b1aa2b952
commit 1d22d65f9f

View File

@ -44,7 +44,7 @@ Options:
configfile := arguments["--conf"].(string)
config, err := irc.LoadConfig(configfile)
if err != nil {
log.Fatal("Config file did not load successfully:", err.Error())
log.Fatal("Config file did not load successfully: ", err.Error())
}
logman, err := logger.NewManager(config.Logging)