Commit 28fc7102 by huluobin

战术更新

parent 85e48f87
...@@ -72,7 +72,7 @@ public class RRExceptionHandler { ...@@ -72,7 +72,7 @@ public class RRExceptionHandler {
.payload(bakRequestWrapper.getCachedContent().toString()) .payload(bakRequestWrapper.getCachedContent().toString())
.errorMsg(ex.getMessage()) .errorMsg(ex.getMessage())
.StackTrace(sw.toString()) .StackTrace(sw.toString())
.build() .build();
//输出日志 //输出日志
...@@ -89,7 +89,7 @@ public class RRExceptionHandler { ...@@ -89,7 +89,7 @@ public class RRExceptionHandler {
//发送邮件 //发送邮件
// if (profile.equals("prod")) // if (profile.equals("prod"))
mailService.sendSimpleMail("robbendev@qq.com", profile + "异常", sw.toString()); mailService.sendSimpleMail("robbendev@qq.com", profile + "异常", JsonUtilByJackson.writeValueAsString(errorLog));
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment