aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 01:04:09 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 01:04:09 +0100
commita9c2e9d5623359493a174d2d08bf003f9dcf9d67 (patch)
treef95d25800e494e5145a39dbc40d3050c6b73415b /src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
parentb80e1e160a6adc7a80cb4bb34ab253f63d29cc83 (diff)
downloadskyhanni-a9c2e9d5623359493a174d2d08bf003f9dcf9d67.tar.gz
skyhanni-a9c2e9d5623359493a174d2d08bf003f9dcf9d67.tar.bz2
skyhanni-a9c2e9d5623359493a174d2d08bf003f9dcf9d67.zip
using ErrorManager more
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 79b743996..7a3ddbf14 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -233,9 +233,10 @@ object NEUItems {
return multiplierCache[internalName]!!
}
if (tryCount == 10) {
- val message = "Error reading getMultiplier for item '$internalName'"
- Error(message).printStackTrace()
- LorenzUtils.error(message)
+ ErrorManager.logErrorState(
+ "Error grabbing recipe data",
+ "Error reading getMultiplier for item '$internalName'"
+ )
return Pair(internalName, 1)
}
for (recipe in getRecipes(internalName)) {