panic替换为友好日志输出

pull/21/merge
ouqiang 2017-04-03 18:16:23 +08:00
parent a6aeb5a916
commit 457511271d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func InitEnv() {
CheckEnv() CheckEnv()
wd, err := os.Getwd() wd, err := os.Getwd()
if err != nil { if err != nil {
panic(err) logger.Fatal(err)
} }
AppDir = wd AppDir = wd
ConfDir = AppDir + "/conf" ConfDir = AppDir + "/conf"