Don't swallow exceptions

This commit is contained in:
Sollace 2018-07-26 17:00:28 +02:00
parent 3a8205463a
commit 26a7d87e10

View file

@ -12,6 +12,7 @@ public class CallableFutures {
try {
ret.complete(call.call());
} catch (Throwable e) {
e.printStackTrace();
ret.completeExceptionally(e);
}
});