Closed nibuen closed 7 years ago
This feature would probably have to be marked as GWT incompatible unless it's written very cleverly to use the libGDX emulation of reflection for GWT.
@BenMcLean This code is already there as this in AbstractConsole:
catch (ReflectionException e) {
String msg = e.getMessage();
if (msg == null || msg.length() <= 0 || msg.equals("")) {
msg = "Unknown Error";
e.printStackTrace();
}
log(msg, LogLevel.ERROR);
return;
}
Should probably be a flag or something for it, since more useful if doing debugging and not for user.
Edit: Updated code sample above.
I have implemented this, it should be live soon.
Released in 0.5.3
Would be nice to print the stack trace instead of just the message like so: