From aa4b77dc98f531fbeabf287a72c5d5e718dfdf74 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 16 Apr 2023 20:17:19 +0200 Subject: less print stack traces when setLenient error --- src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt b/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt index 05c549a70..4ad48b40d 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt @@ -56,13 +56,14 @@ object APIUtil { "shtogglehypixelapierrors" ) } + e.printStackTrace() } else { println("JsonSyntaxException at getJSONResponse '$urlString'") LorenzUtils.error("[SkyHanni] JsonSyntaxException at getJSONResponse!") println("result: '$retSrc'") + e.printStackTrace() } - e.printStackTrace() } } } -- cgit