mirror of https://github.com/ouqiang/gocron
panic替换为友好日志输出
parent
a6aeb5a916
commit
457511271d
|
@ -28,7 +28,7 @@ func InitEnv() {
|
|||
CheckEnv()
|
||||
wd, err := os.Getwd()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
logger.Fatal(err)
|
||||
}
|
||||
AppDir = wd
|
||||
ConfDir = AppDir + "/conf"
|
||||
|
|
Loading…
Reference in New Issue