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 committed Sep 30, 2024
1 parent 87af910 commit b5a06fa
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 b5a06fa

Please sign in to comment.