From b519c534d6978acb8b341dcd0199e6debec34344 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Mon, 20 Dec 2021 02:39:40 +0800 Subject: [PATCH] update --- server/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/middleware.go b/server/middleware.go index d4f1c50..9db0eb2 100644 --- a/server/middleware.go +++ b/server/middleware.go @@ -33,7 +33,7 @@ func (srv *Service) Default(c *gin.Context) { cl.Str("error", fmt.Sprint(err)) } if !util.PROD { - cl.Caller(4) + cl.Caller(3) // cl.Str("trace", util.Stack()) } } else if c.Writer.Status() >= 400 {