aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-14 16:27:10 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-14 16:27:10 +0200
commit7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a (patch)
tree3af4a0a6955e4ea81f7e008ded4f196c01fb4998 /src/main/java/at/hannibal2/skyhanni/utils/APIUtil.kt
parentb4648fe70ce0538325ed6df3ad068e9fe9237c0c (diff)
downloadskyhanni-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.kt6
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"
)