Skip to content

Fix error message leaking into error page#92

Merged
reinabo merged 1 commit into
masterfrom
rt/fix-error-reason
Apr 23, 2026
Merged

Fix error message leaking into error page#92
reinabo merged 1 commit into
masterfrom
rt/fix-error-reason

Conversation

@reinabo
Copy link
Copy Markdown
Contributor

@reinabo reinabo commented Apr 23, 2026

Fixes this error message leaking into the error page. throw render should only be used as intentional control flow, not for errors. abortReason should be treated as user facing. So fixing this by throwing an error instead of throw render

Screenshot 2026-04-22 at 8 37 17 PM

This error still results in a 500 error based on existing tests.

@reinabo reinabo merged commit a13eba8 into master Apr 23, 2026
2 checks passed
@reinabo reinabo deleted the rt/fix-error-reason branch April 23, 2026 15:32
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.

2 participants