aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-03 20:17:33 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-03 20:17:33 +0200
commit6a31867ec99108b3f50c10b52f54876374c66e0b (patch)
tree229d4e245edd7c04b69414e7c7b911025fe40e7d
parentaa66334dba2c2c086b94eab1767abd4765e006f7 (diff)
downloadskyhanni-6a31867ec99108b3f50c10b52f54876374c66e0b.tar.gz
skyhanni-6a31867ec99108b3f50c10b52f54876374c66e0b.tar.bz2
skyhanni-6a31867ec99108b3f50c10b52f54876374c66e0b.zip
added todo
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/json/SkippingTypeAdapterFactory.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/json/SkippingTypeAdapterFactory.kt b/src/main/java/at/hannibal2/skyhanni/utils/json/SkippingTypeAdapterFactory.kt
index a926976ca..3a2505495 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/json/SkippingTypeAdapterFactory.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/json/SkippingTypeAdapterFactory.kt
@@ -23,6 +23,7 @@ object SkippingTypeAdapterFactory : TypeAdapterFactory {
return try {
parent.read(reader)
} catch (e: Exception) {
+ // TODO include path and value found (as string)
SkyHanniMod.logger.warn("Failed to read value from JSON, skipping", e)
reader.skipValue()
null