diff --git a/modules/app/app.go b/modules/app/app.go index eba87ed..b09e8a4 100644 --- a/modules/app/app.go +++ b/modules/app/app.go @@ -28,7 +28,7 @@ func InitEnv() { CheckEnv() wd, err := os.Getwd() if err != nil { - panic(err) + logger.Fatal(err) } AppDir = wd ConfDir = AppDir + "/conf"