Commit b733b984 authored by astaxie's avatar astaxie

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

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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment