aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-16 20:17:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-16 20:17:19 +0200
commitaa4b77dc98f531fbeabf287a72c5d5e718dfdf74 (patch)
tree6742be0844732a96e9fb3c371dbea98ce75c57ae /src/main/java/at/hannibal2
parent4f4838404ad1aa90d35d3059f1d012c0cd7c9a07 (diff)
downloadskyhanni-aa4b77dc98f531fbeabf287a72c5d5e718dfdf74.tar.gz
skyhanni-aa4b77dc98f531fbeabf287a72c5d5e718dfdf74.tar.bz2
skyhanni-aa4b77dc98f531fbeabf287a72c5d5e718dfdf74.zip
less print stack traces when setLenient error
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt3
1 files changed, 2 insertions, 1 deletions
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()
}
}
}