Merge pull request #7892 from Abextm/vm-stack

mixins: Include game crash string in log
This commit is contained in:
Adam
2019-02-18 08:45:54 -05:00
committed by GitHub

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();