make java catcher catch all throwables
This commit is contained in:
parent
c8d07cf371
commit
8075a2f44e
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ public class ISBPL {
|
||||||
else {
|
else {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
if (Arrays.asList(allowed).contains("Java") || allowed.length == 1 && allowed[0].equals("all")) {
|
if (Arrays.asList(allowed).contains("Java") || allowed.length == 1 && allowed[0].equals("all")) {
|
||||||
stack.push(new ISBPLObject(getType("error"), e));
|
stack.push(new ISBPLObject(getType("error"), e));
|
||||||
stack.push(toISBPL(e));
|
stack.push(toISBPL(e));
|
||||||
|
|
Loading…
Add table
Reference in a new issue