9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-19 15:09:15 +00:00

Update LocalizedException.java

This commit is contained in:
XiaoMoMi
2025-06-29 23:47:19 +08:00
parent 862a9d0aea
commit c74e992704

View File

@@ -85,9 +85,10 @@ public class LocalizedException extends RuntimeException {
return cleanMessage; return cleanMessage;
} catch (Exception e) { } catch (Exception e) {
return String.format( return String.format(
"Failed to translate. Node: %s, Arguments: %s", "Failed to translate. Node: %s, Arguments: %s. Cause: %s",
node, node,
Arrays.toString(arguments) Arrays.toString(arguments),
e.getMessage()
); );
} }
} }