Skip to content

Instantly share code, notes, and snippets.

@pketh
Created October 25, 2022 15:49
Show Gist options
  • Save pketh/351f167831520007788e443104e18b89 to your computer and use it in GitHub Desktop.
Save pketh/351f167831520007788e443104e18b89 to your computer and use it in GitHub Desktop.
wrapped in try catch to log errors
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