From a96e4b80244357a37817f405ad06b3bb7299c6f0 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Mon, 20 Dec 2021 02:49:35 +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 db89fe5..a8258bf 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(2) - // 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())