Skip to content

Fix error handling bugs in HTMLRewriter API#16368

Merged
Jarred-Sumner merged 4 commits into
mainfrom
jarred/fixes-html-rewriter-error
Jan 15, 2025
Merged

Fix error handling bugs in HTMLRewriter API#16368
Jarred-Sumner merged 4 commits into
mainfrom
jarred/fixes-html-rewriter-error

Conversation

@Jarred-Sumner

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes #16357
Fixes #15852
Fixes #6124

How did you verify your code works?

A few tests

@robobun

robobun commented Jan 13, 2025

Copy link
Copy Markdown
Collaborator
Updated 12:23 PM PT - Jan 13th, 2025

@cirospaciari, your commit 334e0ca has 1 failures in #9514:


🧪   try this PR locally:

bunx bun-pr 16368

@Jarred-Sumner Jarred-Sumner requested review from a team and dylan-conway and removed request for a team January 13, 2025 05:20
@Jarred-Sumner Jarred-Sumner merged commit 7173593 into main Jan 15, 2025
@Jarred-Sumner Jarred-Sumner deleted the jarred/fixes-html-rewriter-error branch January 15, 2025 09:02
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.

HTMLRewriter crashes when an error is thrown in text HTMLRewriter throwing Error causes Bun to crash HTMLRewriter eats exceptions

4 participants