make java catcher catch all throwables

This commit is contained in:
Daniella / Tove 2022-06-06 12:24:39 +02:00
parent c8d07cf371
commit 8075a2f44e

View file

@ -132,7 +132,7 @@ public class ISBPL {
else {
throw error;
}
} catch (Exception e) {
} catch (Throwable e) {
if (Arrays.asList(allowed).contains("Java") || allowed.length == 1 && allowed[0].equals("all")) {
stack.push(new ISBPLObject(getType("error"), e));
stack.push(toISBPL(e));