diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-09-23 09:45:51 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-09-23 09:45:51 +0200 |
commit | e103c658c41884025a58f62d361f1c38a1451f32 (patch) | |
tree | cf06f3335b7a88420176f15491a05c7507c47d5c /tenant-cd | |
parent | 818164cd7d79fa9885e9bc5215fd2ec845571182 (diff) |
Show request with exception message
Diffstat (limited to 'tenant-cd')
-rw-r--r-- | tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java b/tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java index 1a59d2af4e7..eb409ef0227 100644 --- a/tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java +++ b/tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java @@ -48,7 +48,7 @@ public class HttpEndpoint implements Endpoint { return client.send(authenticator.authenticated(request).build(), handler); } catch (IOException | InterruptedException e) { - throw new RuntimeException(e); + throw new RuntimeException(request.build() + " failed: " + e); } } |