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:
@@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user