summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-09-08 13:56:50 +0200
committerLorenz <lo.scherf@gmail.com>2022-09-08 13:56:50 +0200
commitf0407686615a430f19c57cb4ffe12ebd6235cc2b (patch)
treed541541ff86416d61b473f9463b595f68fb700a9 /src/main/java/at/hannibal2/skyhanni/data
parent8fbf31c9905f58d850465024c8f90f36bab1a8d2 (diff)
downloadskyhanni-f0407686615a430f19c57cb4ffe12ebd6235cc2b.tar.gz
skyhanni-f0407686615a430f19c57cb4ffe12ebd6235cc2b.tar.bz2
skyhanni-f0407686615a430f19c57cb4ffe12ebd6235cc2b.zip
Using LorenzUtils.consoleLog
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
index 64ee938d5..e12cbc637 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
@@ -84,8 +84,10 @@ class RepoManager(private val configLocation: File) {
)
}
} catch (e: IOException) {
- e.printStackTrace()
- System.err.println("Failed to download SkyHanni Repo! Please report this issue to the mod creator")
+ Exception(
+ "Failed to download SkyHanni Repo! Please report this issue on the discord!",
+ e
+ ).printStackTrace()
if (command) {
LorenzUtils.error("An error occurred while trying to reload the repo! See logs for more info.")
}