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