diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-01 11:57:12 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-03-01 11:57:12 +0100 |
commit | 0884b9a12d51d588d8cc46a295d9488054110731 (patch) | |
tree | af654f29c889b6c1c595336c7a955c620345fdc5 /src/main | |
parent | a0b81d3592883225988e058b7de87d33fa2dddf3 (diff) | |
download | skyhanni-0884b9a12d51d588d8cc46a295d9488054110731.tar.gz skyhanni-0884b9a12d51d588d8cc46a295d9488054110731.tar.bz2 skyhanni-0884b9a12d51d588d8cc46a295d9488054110731.zip |
Added more error data
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt index d2e5f389e..c403e09a6 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt @@ -61,6 +61,7 @@ object SkyHanniConfigSearchResetCommand { } catch (e: Throwable) { ErrorManager.logErrorWithData( e, "Could not reset config element '$term'", + "term" to term, "args" to args.joinToString(" ") ) return "§cCould not reset config element '$term'" @@ -118,6 +119,7 @@ object SkyHanniConfigSearchResetCommand { } catch (e: Exception) { ErrorManager.logErrorWithData( e, "Could not change config element", + "old" to shimmy.getJson(), "term" to term, "rawJson" to rawJson, "args" to args.joinToString(" ") @@ -145,7 +147,9 @@ object SkyHanniConfigSearchResetCommand { } catch (e: Exception) { ErrorManager.logErrorWithData( e, "Error while trying to toggle config element", - "args" to args.joinToString(" ") + "path" to path, + "rawJson1" to rawJson1, + "rawJson2" to rawJson2, ) "§cError while trying to toggle config element" } |