aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 1ca6e2a70..62f49f42f 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -139,11 +139,13 @@ object NEUItems {
getItemStackOrNull() ?: run {
getPriceOrNull() ?: return@run fallbackItem
if (ignoreItemsFilter.match(this.asString())) return@run fallbackItem
- ErrorManager.logError(
+ ErrorManager.logErrorWithData(
IllegalStateException("Something went wrong!"),
"Encountered an error getting the item for §7$this§c. " +
"This may be because your NEU repo is outdated. Please ask in the SkyHanni " +
- "Discord if this is the case"
+ "Discord if this is the case.",
+ "Item name" to this.asString(),
+ "repo commit" to manager.latestRepoCommit
)
fallbackItem
}