aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/nether
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-03-01 09:06:59 +0100
committerGitHub <noreply@github.com>2024-03-01 09:06:59 +0100
commit498eb136629d3f2b22f217ebec60b60761e1b899 (patch)
treea34cc8ab028d7e7b069dfc561692a0b0880e5fcf /src/main/java/at/hannibal2/skyhanni/features/nether
parent8b0e4335fd4876bb4dfb2325200118435aae2624 (diff)
downloadskyhanni-498eb136629d3f2b22f217ebec60b60761e1b899.tar.gz
skyhanni-498eb136629d3f2b22f217ebec60b60761e1b899.tar.bz2
skyhanni-498eb136629d3f2b22f217ebec60b60761e1b899.zip
printStackTrace -> ErrorManager #1028
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/nether')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
index 4dd526dbe..7202e1047 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
@@ -184,8 +184,10 @@ class QuestLoader(private val dailyQuestHelper: DailyQuestHelper) {
val haveAmount = split[3].toInt()
quest.haveAmount = haveAmount
} catch (e: IndexOutOfBoundsException) {
- println("text: '$text'")
- e.printStackTrace()
+ ErrorManager.logErrorWithData(
+ e, "Error loading Crimson Isle Quests from config.",
+ "text" to text,
+ )
}
}
addQuest(quest)