summaryrefslogtreecommitdiffstats
path: root/jrt/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-09-05 23:17:52 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-09-05 23:17:52 +0200
commitd016c310084928c8481c72f5ed5c2cb316308bc7 (patch)
tree474313d5e6d505040c34b31636ced98487779a93 /jrt/src
parentffc04e71743404f903a60e83e2f24fe527e71b0c (diff)
Add the timeout in the message too.
Diffstat (limited to 'jrt/src')
-rw-r--r--jrt/src/com/yahoo/jrt/InvocationClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jrt/src/com/yahoo/jrt/InvocationClient.java b/jrt/src/com/yahoo/jrt/InvocationClient.java
index ed95976f546..0b01ea0935b 100644
--- a/jrt/src/com/yahoo/jrt/InvocationClient.java
+++ b/jrt/src/com/yahoo/jrt/InvocationClient.java
@@ -89,7 +89,7 @@ class InvocationClient implements ReplyHandler, Runnable {
if (!conn.cancelReply(this)) {
return;
}
- req.setError(ErrorCode.TIMEOUT, "Request timed out");
+ req.setError(ErrorCode.TIMEOUT, "Request timed out after " + timeout + " seconds.");
reqWaiter.handleRequestDone(req);
}
}