diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-20 19:41:56 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-20 19:41:56 +0100 |
commit | 40c90d9041a65753a1e6db8a3080b5f25201977c (patch) | |
tree | 7d25401b22252645ab70d3ae0563ec91c62dd91b /src/main/java/at/hannibal2/skyhanni/features | |
parent | 0b897aeae566b19e9bf87776156d761965f7d1ec (diff) | |
download | skyhanni-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.kt | 5 |
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 } |