Skip to content

Commit

Permalink
Fix NoClassDefFoundError when opening notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
HoussemNasri committed Sep 24, 2023
1 parent 374f288 commit 4493561
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ private static void configureMailer() {
Class<? extends Mail> cobj = Class.forName(clazz).asSubclass(Mail.class);
mailer = cobj.getDeclaredConstructor().newInstance();
}
catch (Exception e) {
catch (Throwable e) {
log.warn("An exception was thrown while configuring Mailer", e);
mailer = new SmtpMail();
}
}
Expand Down

0 comments on commit 4493561

Please sign in to comment.