Commit 145b5e9bc4203a7aab910f36c956bdd43554a1a4
1 parent
7a73a53dce
Exists in
master
and in
1 other branch
增加
Showing 1 changed file with 1 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/base/ExceptionHandlerController.java
View file @
145b5e9
| ... | ... | @@ -150,7 +150,7 @@ |
| 150 | 150 | Map<String, Object> resultMap = new HashMap<>(); |
| 151 | 151 | resultMap.put("errorcode", ErrorCodeConstants.SYSTEM_ERROR); |
| 152 | 152 | resultMap.put("errormsg", "服务器异常."); |
| 153 | - if(!e.getClass().getName() .equals("org.apache.catalina.connector.ClientAbortException") ){ | |
| 153 | + if(!e.getClass().getSimpleName() .equals("ClientAbortException") ){ | |
| 154 | 154 | ExceptionUtils.catchException(e, "ExceptionHandlerController Exception. queryStr: " +httpServletRequest.getRequestURI() + "?"+httpServletRequest.getQueryString()); |
| 155 | 155 | } |
| 156 | 156 |