Skip to content

(Backend) - Sending Feedback Notification Reports Success Despite Underlying Failure In Server To Send Email #2364

@mjperry91

Description

@mjperry91

Describe the bug
When sending a notification reminder for an existing review feedback the backend will report a 200 ok status despite an underlying error occurring with mailjet that results in the email actually failing to be sent.

To Reproduce
Steps to reproduce the behavior:

  1. Run on local and ensure you don't have a mailjet api key set to ensure email fails to send.
  2. Go to feedback/view feedback
  3. Click the drop down carrot on an individuals feedback
  4. Click the notification bell icon to send a request.
  5. Observe you get a successful green popup that says the notification was sent, when in fact if you look at the logs you will see a mailjet failure error.

Expected behavior
If an email fails to send the server should report this to the UI.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions