mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
Make config errors display more nicely
This commit is contained in:
parent
4b1aa2b952
commit
1d22d65f9f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user