diff --git a/config.go b/config.go index 42b35fd2..876dbe01 100644 --- a/config.go +++ b/config.go @@ -188,7 +188,9 @@ func init() { return } - parseConfig(appConfigPath) + if err := parseConfig(appConfigPath); err != nil { + panic(err) + } } // now only support ini, next will support json.