From 620745c32cce9ca6f682142485878a3a1724df95 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Mon, 20 Dec 2021 02:40:12 +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 9db0eb2..b4d7c9f 100644 --- a/server/middleware.go +++ b/server/middleware.go @@ -34,7 +34,7 @@ func (srv *Service) Default(c *gin.Context) { } if !util.PROD { cl.Caller(3) - // cl.Str("trace", util.Stack()) + cl.Str("trace", util.Stack()) } } else if c.Writer.Status() >= 400 { cl = srv.l.Error().Strs("error", c.Errors.Errors())