Skip to content

Commit

Permalink
fix(email-connector): send emails will always make the process fail (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mathias-vandaele authored Sep 30, 2024
1 parent 87af910 commit 91ce206
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ private SendEmailResponse smtpSendEmail(
transport.sendMessage(message, message.getAllRecipients());
}
return new SendEmailResponse(smtpSendEmail.subject(), true);
} catch (SendFailedException e) {
return new SendEmailResponse(smtpSendEmail.subject(), false);
} catch (MessagingException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 91ce206

Please sign in to comment.