aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}