提交 b733b984 编写于 作者: A astaxie

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

上级 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)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册