mixins: Include game crash string in log
This lets the client print the cs2 vm stack to our logs
This commit is contained in:
@@ -55,7 +55,7 @@ public abstract class ProcessClientErrorMixin implements RSClient
|
|||||||
throwableToScan = ((RSRunException) throwable).getParent();
|
throwableToScan = ((RSRunException) throwable).getParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
client.getLogger().error("Game crash", throwableToScan);
|
client.getLogger().error("Game crash: {}", string, throwableToScan);
|
||||||
|
|
||||||
StackTraceElement[] stackTrace = throwableToScan.getStackTrace();
|
StackTraceElement[] stackTrace = throwableToScan.getStackTrace();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user