mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-01 05:57:51 +01:00
Log exceptions thrown by BufferedRequest tasks
This commit is contained in:
parent
6fc2321fad
commit
c396323308
@ -169,6 +169,7 @@ public abstract class BufferedRequest<T> {
|
||||
R result = Processor.this.supplier.get();
|
||||
Processor.this.future.complete(result);
|
||||
} catch (Exception e) {
|
||||
new RuntimeException("Processor " + Processor.this.supplier + " threw an exception whilst computing a result", e).printStackTrace();
|
||||
Processor.this.future.completeExceptionally(e);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user