aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-20 19:41:56 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-20 19:41:56 +0100
commit40c90d9041a65753a1e6db8a3080b5f25201977c (patch)
tree7d25401b22252645ab70d3ae0563ec91c62dd91b /src/main/java/at/hannibal2/skyhanni/features
parent0b897aeae566b19e9bf87776156d761965f7d1ec (diff)
downloadskyhanni-40c90d9041a65753a1e6db8a3080b5f25201977c.tar.gz
skyhanni-40c90d9041a65753a1e6db8a3080b5f25201977c.tar.bz2
skyhanni-40c90d9041a65753a1e6db8a3080b5f25201977c.zip
better error message
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
index 6cbb77fbf..1bd9290e2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
@@ -142,7 +142,10 @@ class GardenVisitorTimer {
}
if (lastMillis == Duration.INFINITE) {
- LorenzUtils.error("Found Visitor Timer bug, reset value (lastMillis was infinite).")
+ ErrorManager.logErrorStateWithData(
+ "Found Visitor Timer bug, reset value", "lastMillis was infinite",
+ "lastMillis" to lastMillis
+ )
lastMillis = 0.seconds
}