diff --git a/app/services/notificationService.js b/app/services/notificationService.js index b0c84ff..c81dbcc 100644 --- a/app/services/notificationService.js +++ b/app/services/notificationService.js @@ -40,9 +40,7 @@ const notifyMatches = async matches => { const sendEmailPromise = sendEmail(email, "Nove nekretnine", emailContent); asyncSendEmailActions.push(sendEmailPromise); - sendEmailPromise - .then(res => console.log(res)) - .catch(err => console.log(err)); + sendEmailPromise.catch(err => console.log("[Email Sending Failed]", err)); } await Promise.all(asyncSendEmailActions);