mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Propogate AbortException. Closes #2206. Also fix tracing printstream when printStackTrace is called.
This commit is contained in:
1 parent
cb2d5992d2
commit
7e5a2cb5ca
2 files changed
+13
-9
No files matched your search
@@ -44,7 +44,7 @@ public class TracingPrintStream extends PrintStream {
|
||||
if (elem.getClassName().startsWith("kotlin.io.")) {
|
||||
elem = elems[BASE_DEPTH + 2]; // Kotlins IoPackage masks origins 2 deeper in the stack.
|
||||
} else if (elem.getClassName().startsWith("java.lang.Throwable")) {
|
||||
elem = elems[BASE_DEPTH + 2];
|
||||
elem = elems[BASE_DEPTH + 4];
|
||||
}
|
||||
return "[" + elem.getClassName() + ":" + elem.getMethodName() + ":" + elem.getLineNumber() + "]: ";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user