diff --git a/core/src/main/java/net/momirealms/craftengine/core/plugin/locale/LocalizedException.java b/core/src/main/java/net/momirealms/craftengine/core/plugin/locale/LocalizedException.java index 39eee44b0..d85532317 100644 --- a/core/src/main/java/net/momirealms/craftengine/core/plugin/locale/LocalizedException.java +++ b/core/src/main/java/net/momirealms/craftengine/core/plugin/locale/LocalizedException.java @@ -85,9 +85,10 @@ public class LocalizedException extends RuntimeException { return cleanMessage; } catch (Exception e) { return String.format( - "Failed to translate. Node: %s, Arguments: %s", + "Failed to translate. Node: %s, Arguments: %s. Cause: %s", node, - Arrays.toString(arguments) + Arrays.toString(arguments), + e.getMessage() ); } }