Skip to content

Commit

Permalink
catch errors not inly exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 19, 2024
1 parent 554ab9a commit f7a6c2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void executeScript(String script, Map<String, Object> inputs) {
} else if (script.equals("close")) {
ti.closeModel();
}
} catch(Exception ex) {
} catch(Exception | Error ex) {
this.fail(Types.stackTrace(ex));
return;
}
Expand Down

0 comments on commit f7a6c2a

Please sign in to comment.