From 8075a2f44edd855b11591c36b185353122f59fbf Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 6 Jun 2022 12:24:39 +0200 Subject: [PATCH] make java catcher catch all throwables --- ISBPL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISBPL.java b/ISBPL.java index cdc56bd..b3f51dc 100644 --- a/ISBPL.java +++ b/ISBPL.java @@ -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));