Skip to content

Commit

Permalink
Corrected error type
Browse files Browse the repository at this point in the history
  • Loading branch information
psainics committed Feb 18, 2025
1 parent a3f4802 commit 3255663
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void initialize(TransformContext context) throws Exception {
String error = "Failed to get method ScriptObjectMirror#values() for converting ScriptObjectMirror to List." +
" Please check your version of Nashorn is supported.";
throw ErrorUtils.getProgramFailureException(new ErrorCategory(ErrorCategory.ErrorCategoryEnum.PLUGIN),
error, error, ErrorType.USER, false, e);
error, error, ErrorType.SYSTEM, false, e);
} catch (ClassNotFoundException e) {
// Ignore -- we don't have Nashorn, so no need to handle Nashorn
}
Expand Down

0 comments on commit 3255663

Please sign in to comment.