From 9c8c04fe007b542fcb7a4a831b31a6455c05e79e Mon Sep 17 00:00:00 2001 From: xing Date: Mon, 17 Oct 2022 22:57:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/sendmail.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleware/sendmail.go b/middleware/sendmail.go index f9e1f2e..ac74b6c 100644 --- a/middleware/sendmail.go +++ b/middleware/sendmail.go @@ -31,9 +31,9 @@ func RecoverAndSendMail(w io.Writer) func(ctx *gin.Context) { } } headersToStr := strings.Join(headers, "
") - content := `
err:
%v

+ content := `
err:
%v

stack:
%v

-
headers:
%s
+
headers:
%s
` content = fmt.Sprintf(content, err,