Commit dc75f6f0 authored by Quxl's avatar Quxl

x

parent b2da787a
...@@ -42,7 +42,11 @@ public class ExceptionHandler implements HandlerExceptionResolver { ...@@ -42,7 +42,11 @@ public class ExceptionHandler implements HandlerExceptionResolver {
} finally { } finally {
if(displayInLog) { if(displayInLog) {
logger.error("", ex); logger.error("", ex);
try {
logService.saveErrorLog(ex); logService.saveErrorLog(ex);
} catch (Exception e) {
logger.error("错误日志保存失败", e);
}
} }
} }
return mav; return mav;
......
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