mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-02 00:37:59 +01:00
Don't swallow exceptions
This commit is contained in:
parent
3a8205463a
commit
26a7d87e10
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ public class CallableFutures {
|
||||||
try {
|
try {
|
||||||
ret.complete(call.call());
|
ret.complete(call.call());
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
e.printStackTrace();
|
||||||
ret.completeExceptionally(e);
|
ret.completeExceptionally(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue