diff --git a/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java b/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java index be44be2..145d8e5 100644 --- a/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java +++ b/udf-starter-core/src/main/java/org/itkk/udf/core/exception/handle/ExceptionHandle.java @@ -71,8 +71,6 @@ public class ExceptionHandle extends ResponseEntityExceptionHandler { } catch (IOException e) { throw new SystemRuntimeException(e); } - } else { //未知异常 - localHttpStatus = HttpStatus.INTERNAL_SERVER_ERROR; } return super.handleExceptionInternal(ex, new RestResponse<>(status, errorResult), headers, localHttpStatus, request); }