b733b984 by astaxie

for init if doesn't have app.conf will not panic

1 parent b97d9896
......@@ -122,8 +122,8 @@ func init() {
err := ParseConfig()
if err != nil && !os.IsNotExist(err) {
// panic unless the err is can not find default configuration file
panic(err)
// for init if doesn't have app.conf will not panic
Info(err)
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!