mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-28 17:37:52 +01:00
Remove printStackTrace
This commit is contained in:
parent
6944cf2579
commit
1298a5039b
@ -307,7 +307,6 @@ public class DiscordAPIImpl implements DiscordAPI {
|
|||||||
try {
|
try {
|
||||||
return mapExceptions(futureSupplier.get());
|
return mapExceptions(futureSupplier.get());
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
t.printStackTrace();
|
|
||||||
CompletableFuture<T> future = new CompletableFuture<>();
|
CompletableFuture<T> future = new CompletableFuture<>();
|
||||||
future.completeExceptionally(t);
|
future.completeExceptionally(t);
|
||||||
return future;
|
return future;
|
||||||
|
Loading…
Reference in New Issue
Block a user