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 08b01c9 commit cd45015
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 cd45015

Please sign in to comment.