diff --git a/core/src/main/java/org/mapfish/print/map/image/ImageLayer.java b/core/src/main/java/org/mapfish/print/map/image/ImageLayer.java index f740066bf2..5b1aef4c9d 100644 --- a/core/src/main/java/org/mapfish/print/map/image/ImageLayer.java +++ b/core/src/main/java/org/mapfish/print/map/image/ImageLayer.java @@ -209,7 +209,6 @@ private BufferedImage fetchImage( final URI commonUri = new URI(this.params.getBaseUrl()); final ClientHttpRequest request = clientHttpRequestFactory.createRequest(commonUri, HttpMethod.GET); - final boolean failOnError = this.params.failOnError; return fetchImage(request, transformer); } diff --git a/examples/src/test/resources/examples/image_layer_test/expected_output/requestData-with-error.png b/examples/src/test/resources/examples/image_layer_test/expected_output/requestData-with-error.png index 00524869f5..5fa6d1e1a0 100644 Binary files a/examples/src/test/resources/examples/image_layer_test/expected_output/requestData-with-error.png and b/examples/src/test/resources/examples/image_layer_test/expected_output/requestData-with-error.png differ