We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7fb96 commit dcfa183Copy full SHA for dcfa183
src/main/java/net/schmizz/concurrent/Promise.java
@@ -136,7 +136,7 @@ public V retrieve(long timeout, TimeUnit unit)
136
throws T {
137
final V value = tryRetrieve(timeout, unit);
138
if (value == null)
139
- throw chainer.chain(new TimeoutException("Timeout expired"));
+ throw chainer.chain(new TimeoutException("Timeout expired: " + timeout + " " + unit));
140
else
141
return value;
142
}
0 commit comments