mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-01 16:27: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 {
|
||||
ret.complete(call.call());
|
||||
} catch (Throwable e) {
|
||||
e.printStackTrace();
|
||||
ret.completeExceptionally(e);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue