Skip to content

Commit

Permalink
catch errors, not only exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 19, 2024
1 parent 0c637bb commit e9e6eab
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 e9e6eab

Please sign in to comment.