From ec02ab0ff8ecbf50b0bbdffa1208b63906370954 Mon Sep 17 00:00:00 2001 From: wangkang Date: Sat, 29 Jul 2017 10:06:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=82=E5=B8=B8=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/itkk/udf/core/exception/handle/ExceptionHandle.java | 2 -- 1 file changed, 2 deletions(-) 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); }