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 Oct 4, 2024
1 parent b9c432f commit 8b464b1
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 8b464b1

Please sign in to comment.