From 73a792862b5d8f17a4ff912ab9a0a9eebea1ef08 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Thu, 10 Oct 2019 00:57:11 +0200 Subject: [PATCH] remove email sending logs --- app/services/notificationService.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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);