food-oasis icon indicating copy to clipboard operation
food-oasis copied to clipboard

Check error handling for emails

Open SAUMILDHANKAR opened this issue 8 months ago • 0 comments

Overview

Following error gets generated while submitting contact us form on localhost as well as on codespaces, however, the confirmation email is delivered. UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Sending contact form email failed.".

Action Items

  • [ ] Test if this happens in your local environment
  • [ ] Decide if this is the expected behavior
  • [ ] Fix the error if required

Resources/Instructions

  • Related file: https://github.com/hackforla/food-oasis/blob/develop/server/app/services/sendgrid-service.ts

SAUMILDHANKAR avatar Jun 02 '24 01:06 SAUMILDHANKAR