Commit 077ef080 authored by Quxl's avatar Quxl

x

parent 7c79ec3f
......@@ -43,7 +43,7 @@ public class ExceptionHandler implements HandlerExceptionResolver {
if(displayInLog) {
logger.error("", ex);
try {
logService.saveErrorLog(request.getRequestURI(), ex);
logService.saveErrorLog(request.getRequestURI().replace(request.getContextPath(), ""), ex);
} catch (Exception e) {
logger.error("错误日志保存失败", e);
}
......
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