mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #44 - WebAssembly GC support, fix more WebRTC bugs
This commit is contained in:
@ -159,6 +159,10 @@ public class Logger {
|
||||
}
|
||||
|
||||
private void logExcp(final Level level, String h, Throwable msg) {
|
||||
if(msg == null) {
|
||||
log(level, "{}: <null>", h);
|
||||
return;
|
||||
}
|
||||
log(level, "{}: {}", h, msg.toString());
|
||||
EagRuntime.getStackTrace(msg, (e) -> log(level, " at {}", e));
|
||||
PlatformRuntime.printJSExceptionIfBrowser(msg);
|
||||
|
Reference in New Issue
Block a user