GeekLaunch / nodejs-template-emails

Sending template emails in Node.JS
17 stars 18 forks source link

Issue with sending email #2

Open hadare1 opened 6 years ago

hadare1 commented 6 years ago

Hi I followed your tutorial on youtube and I encountered an issue that I'm not sure where it happens:

(node:31412) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). (rejection id: 3)

I understand there is a catch method missing but I'm not sure why... Please let me know what you think. Thanks