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