aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-feed-client
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-09-14 12:52:33 +0200
committerJon Marius Venstad <venstad@gmail.com>2021-09-14 12:52:33 +0200
commit7c587aac6a7ea1c8dafcbc797f8711732dea7903 (patch)
treeb1935f2af1bbc3eafb0ba0ad34b3e01279c1389d /vespa-feed-client
parent6cb447d48d363e736effb6e57b82f0b9193ed077 (diff)
Exceptions yield no proper HTTP response
Diffstat (limited to 'vespa-feed-client')
-rw-r--r--vespa-feed-client/src/main/java/ai/vespa/feed/client/OperationStats.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/OperationStats.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/OperationStats.java
index 9740421d810..273e4d35fc9 100644
--- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/OperationStats.java
+++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/OperationStats.java
@@ -60,7 +60,7 @@ public class OperationStats {
/** Number of HTTP responses received. */
public long responses() {
- return requests - inflight;
+ return requests - inflight - exceptions;
}
/** Number of 200 OK HTTP responses received. */