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 145d8e5..00ca44b 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 @@ -72,7 +72,7 @@ public class ExceptionHandle extends ResponseEntityExceptionHandler { throw new SystemRuntimeException(e); } } - return super.handleExceptionInternal(ex, new RestResponse<>(status, errorResult), headers, localHttpStatus, request); + return super.handleExceptionInternal(ex, new RestResponse<>(localHttpStatus, errorResult), headers, localHttpStatus, request); } /**