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 {