From 457511271d58423346078c9c06dd5d53568eddf6 Mon Sep 17 00:00:00 2001 From: ouqiang Date: Mon, 3 Apr 2017 18:16:23 +0800 Subject: [PATCH] =?UTF-8?q?panic=E6=9B=BF=E6=8D=A2=E4=B8=BA=E5=8F=8B?= =?UTF-8?q?=E5=A5=BD=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"