Skip to content

Commit 4a73617

Browse files
author
Hamid Tavakoli
authored
Merge pull request #59 from topcoder-platform/feature/PLAT-1484
More logging
2 parents 0dae3c0 + 6ce7897 commit 4a73617

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

connect/service.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ const sendEmail = async (templateId, message) => { // send email
5353
logger.info(`Sending email with templateId: ${templateId} and message: ${JSON.stringify(msg)}`);
5454
try {
5555
const result = await sgMail.send(msg)
56+
logger.info(`Email sent successfully with result: ${JSON.stringify(result)}`);
5657
return result
5758
} catch (err) {
5859
logger.error(`Error occurred in sendgrid api calling: ${err}`);

0 commit comments

Comments
 (0)