thread exceptions are printed unscrambled

This commit is contained in:
gnembon committed 2021-04-23 22:12:38 -03:00
1 parent c476e814b4
commit 9e7d6b70b7
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ public abstract class ScriptHost
host.moduleData.forEach((module, data) -> data.setImportsBasedOn(host, this.moduleData.get(data.parent)));
}
public void handleExpressionException(String msg, ExpressionException exc)
synchronized public void handleExpressionException(String msg, ExpressionException exc)
{
System.out.println(msg+": "+exc);
}