diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-14 16:27:10 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-14 16:27:10 +0200 |
commit | 7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a (patch) | |
tree | 3af4a0a6955e4ea81f7e008ded4f196c01fb4998 /src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt | |
parent | b4648fe70ce0538325ed6df3ad068e9fe9237c0c (diff) | |
download | skyhanni-7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a.tar.gz skyhanni-7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a.tar.bz2 skyhanni-7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a.zip |
renamed CopyErrorCommand to ErrorManager
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt b/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt index 7f9de6685..c0116f57c 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt @@ -1,7 +1,7 @@ package at.hannibal2.skyhanni.utils import at.hannibal2.skyhanni.SkyHanniMod -import at.hannibal2.skyhanni.test.command.CopyErrorCommand +import at.hannibal2.skyhanni.test.command.ErrorManager import com.google.gson.JsonElement import com.google.gson.JsonObject import com.google.gson.JsonParser @@ -67,7 +67,7 @@ object APIUtil { e.printStackTrace() } else { - CopyErrorCommand.logError( + ErrorManager.logError( Error("$apiName error for url: '$urlString'", e), "Failed to load data from $apiName" ) @@ -79,7 +79,7 @@ object APIUtil { if (silentError) { throw throwable } else { - CopyErrorCommand.logError( + ErrorManager.logError( Error("$apiName error for url: '$urlString'", throwable), "Failed to load data from $apiName" ) |