mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 05:09:54 +05:00
Nicer logging for config failing
This commit is contained in:
@@ -739,7 +739,7 @@ func main() {
|
||||
// Init config
|
||||
cfg, err = config.NewCGRConfigFromFolder(*cfgDir)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not parse config: ", err)
|
||||
log.Fatalf("Could not parse config: <%s>", err.Error())
|
||||
return
|
||||
}
|
||||
config.SetCgrConfig(cfg) // Share the config object
|
||||
|
||||
Reference in New Issue
Block a user