Skip to content

Comments

Fix email rendering not throwing errors#80

Merged
CarsonF merged 4 commits intomasterfrom
bugfix/email-rendering
Feb 19, 2026
Merged

Fix email rendering not throwing errors#80
CarsonF merged 4 commits intomasterfrom
bugfix/email-rendering

Conversation

@CarsonF
Copy link
Member

@CarsonF CarsonF commented Feb 19, 2026

We encountered a problem where our async templates were being sent without data.
I now believe there were errors encountered, but instead of those being thrown, they were swallowed.
SeedCompany/cord-api-v3#3585

I added tests to confirm async rendering works & throwing errors are actually thrown.

Unfortunately I had to inline the rendering library because it appears that its latest release doesn't correctly handle error throwing.

@CarsonF CarsonF merged commit 6ab33ca into master Feb 19, 2026
2 checks passed
@CarsonF CarsonF deleted the bugfix/email-rendering branch February 19, 2026 17:05
CarsonF added a commit to SeedCompany/cord-api-v3 that referenced this pull request Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant