Created
October 25, 2022 15:49
-
-
Save pketh/351f167831520007788e443104e18b89 to your computer and use it in GitHub Desktop.
wrapped in try catch to log errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
await postmark.sendEmailBatchWithTemplates(templates) | |
} catch (error) { | |
console.error('🚒 email.bulletin', error) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment