Commit 530461cbe3623c9a0299b3bd25c8222abea932ba
1 parent
af404a8b
fix: update token expire Time to never expire time
Showing
1 changed file
with
2 additions
and
1 deletions
ruoyi-framework/src/main/java/com/ruoyi/framework/web/exception/GlobalExceptionHandler.java
| ... | ... | @@ -77,7 +77,8 @@ public class GlobalExceptionHandler |
| 77 | 77 | public AjaxResult handleException(Exception e, HttpServletRequest request) |
| 78 | 78 | { |
| 79 | 79 | String requestURI = request.getRequestURI(); |
| 80 | - log.error("请求地址'{}',发生系统异常.", requestURI, e); | |
| 80 | + String requestMethod = request.getMethod(); | |
| 81 | + log.error("请求地址'{}',.请求方法:{},发生系统异常。异常信息:{}", requestURI,requestMethod ,e.getMessage()); | |
| 81 | 82 | return AjaxResult.error(e.getMessage()); |
| 82 | 83 | } |
| 83 | 84 | ... | ... |