diff --git a/endpoints/citrus-http/src/main/java/org/citrusframework/http/client/HttpResponseErrorHandler.java b/endpoints/citrus-http/src/main/java/org/citrusframework/http/client/HttpResponseErrorHandler.java index a3a8245971..5d7f9972b8 100644 --- a/endpoints/citrus-http/src/main/java/org/citrusframework/http/client/HttpResponseErrorHandler.java +++ b/endpoints/citrus-http/src/main/java/org/citrusframework/http/client/HttpResponseErrorHandler.java @@ -46,7 +46,7 @@ protected void handleError(ClientHttpResponse response, HttpStatusCode statusCod if (errorHandlingStrategy.equals(ErrorHandlingStrategy.PROPAGATE)) { throw new HttpErrorPropagatingException(response.getStatusCode(), response.getStatusText(), response.getHeaders(), getResponseBody(response), getCharset(response)); } else if (errorHandlingStrategy.equals(ErrorHandlingStrategy.THROWS_EXCEPTION)) { - super.handleError(response); + super.handleError(response, statusCode, url, method); } else { throw new CitrusRuntimeException("Unsupported error strategy: " + errorHandlingStrategy); }