mixins: Include game crash string in log

This lets the client print the cs2 vm stack to our logs
This commit is contained in:
Max Weber
2019-02-16 20:35:59 -07:00
parent c1e2d04f0d
commit 38ab569422

View File

@@ -55,7 +55,7 @@ public abstract class ProcessClientErrorMixin implements RSClient
throwableToScan = ((RSRunException) throwable).getParent();
}
client.getLogger().error("Game crash", throwableToScan);
client.getLogger().error("Game crash: {}", string, throwableToScan);
StackTraceElement[] stackTrace = throwableToScan.getStackTrace();