소스 검색

Merge remote-tracking branch 'origin/uat' into uat

zhujinghui 4 년 전
부모
커밋
9ca6da0dda
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      4dkankan-common/src/main/java/com/fdkankan/common/exception/GlobalExceptionHandler.java

+ 1 - 1
4dkankan-common/src/main/java/com/fdkankan/common/exception/GlobalExceptionHandler.java

@@ -82,7 +82,7 @@ public class GlobalExceptionHandler {
     @ExceptionHandler(BaseRuntimeException.class)
     @ResponseStatus(HttpStatus.OK)
     public Result runtimeExceptionHandler(HttpServletRequest request, BaseRuntimeException e) {
-        log.error(request.getRequestURI() + ":" + e.getMsg());
+        log.error("uri:{},exception:{}",request.getRequestURI(),e);
         return Result.failure(e.getCode() == null ? Result.CODE_FAILURE : e.getCode(), e.getMsg());
     }