Skip to content

Commit

Permalink
[FIX] onMailetException should catch jvm Error
Browse files Browse the repository at this point in the history
`onMailetException` has had no impact upon `NoSuchMethodError`.
  • Loading branch information
quantranhong1999 authored and Arsnael committed Mar 29, 2024
1 parent f748eb5 commit 4fcec50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void process(Mail mail) throws Exception {
.build()) {
MailetPipelineLogging.logBeginOfMailetProcess(mailet, mail);
mailet.service(mail);
} catch (Exception | NoClassDefFoundError me) {
} catch (Throwable me) {
ex = me;
String onMailetException = null;

Expand Down

0 comments on commit 4fcec50

Please sign in to comment.