mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 21:39:25 +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)
|
configfile := arguments["--conf"].(string)
|
||||||
config, err := irc.LoadConfig(configfile)
|
config, err := irc.LoadConfig(configfile)
|
||||||
if err != nil {
|
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)
|
logman, err := logger.NewManager(config.Logging)
|
||||||
|
Loading…
Reference in New Issue
Block a user