mirror of
https://github.com/astaxie/beego.git
synced 2025-05-14 02:53:11 +00:00
panic parse config error
This commit is contained in:
parent
2b23764ee0
commit
d5f07d65bb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user