From a0b81d3592883225988e058b7de87d33fa2dddf3 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Fri, 1 Mar 2024 21:51:05 +1100 Subject: Replaced e.printStackTrace() with ErrorManager. #1065 --- src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt') 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 } -- cgit