diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-16 20:17:19 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-16 20:17:19 +0200 |
commit | aa4b77dc98f531fbeabf287a72c5d5e718dfdf74 (patch) | |
tree | 6742be0844732a96e9fb3c371dbea98ce75c57ae /src/main/java | |
parent | 4f4838404ad1aa90d35d3059f1d012c0cd7c9a07 (diff) | |
download | skyhanni-aa4b77dc98f531fbeabf287a72c5d5e718dfdf74.tar.gz skyhanni-aa4b77dc98f531fbeabf287a72c5d5e718dfdf74.tar.bz2 skyhanni-aa4b77dc98f531fbeabf287a72c5d5e718dfdf74.zip |
less print stack traces when setLenient error
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt | 3 |
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() } } } |