From ff6337655052ce89c5a25f179ae800ff0dd1d3de Mon Sep 17 00:00:00 2001 From: Vankka Date: Mon, 28 Mar 2022 17:22:01 +0300 Subject: [PATCH] remove printStackTrace used for debugging --- .../java/com/discordsrv/common/api/util/ApiInstanceUtil.java | 1 - 1 file changed, 1 deletion(-) diff --git a/common/src/main/java/com/discordsrv/common/api/util/ApiInstanceUtil.java b/common/src/main/java/com/discordsrv/common/api/util/ApiInstanceUtil.java index dcf81c2c..fe412b1a 100644 --- a/common/src/main/java/com/discordsrv/common/api/util/ApiInstanceUtil.java +++ b/common/src/main/java/com/discordsrv/common/api/util/ApiInstanceUtil.java @@ -40,7 +40,6 @@ public final class ApiInstanceUtil { provideMethod.setAccessible(true); provideMethod.invoke(null, discordSRV); } catch (ClassNotFoundException | IllegalAccessException | NoSuchMethodException | InvocationTargetException e) { - e.printStackTrace(); discordSRV.logger().error("Failed to set API instance", e); } }