From f0407686615a430f19c57cb4ffe12ebd6235cc2b Mon Sep 17 00:00:00 2001 From: Lorenz Date: Thu, 8 Sep 2022 13:56:50 +0200 Subject: Using LorenzUtils.consoleLog --- src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/data') 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.") } -- cgit