mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2025-03-10 13:09:10 +01:00
Log the invalid json in MinecraftComponentImpl
This commit is contained in:
parent
5279e09c33
commit
d739754839
@ -64,7 +64,7 @@ public class MinecraftComponentImpl implements MinecraftComponent {
|
|||||||
try {
|
try {
|
||||||
component = GsonComponentSerializer.gson().deserialize(json);
|
component = GsonComponentSerializer.gson().deserialize(json);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
throw new IllegalArgumentException("Provided json is not valid", t);
|
throw new IllegalArgumentException("Provided json is not valid: " + json, t);
|
||||||
}
|
}
|
||||||
this.component = component;
|
this.component = component;
|
||||||
this.json = json;
|
this.json = json;
|
||||||
|
Loading…
Reference in New Issue
Block a user