diff options
Diffstat (limited to 'vespa-http-client')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java index d8a2d2ddd12..f3d751f67c7 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java @@ -260,6 +260,8 @@ class ApacheGatewayConnection implements GatewayConnection { } private void verifyServerResponseCode(StatusLine statusLine) throws ServerResponseException { + // We use code 261-299 to report errors related to internal transitive errors that the tenants should not care + // about to avoid masking more serious errors. if (statusLine.getStatusCode() > 199 && statusLine.getStatusCode() < 260) { return; } |