Skip to content

Refactor JSG exception decoding, add relevant test cases#348

Merged
fhanau merged 2 commits intomainfrom
felix/jsg-except-refactor
Feb 6, 2023
Merged

Refactor JSG exception decoding, add relevant test cases#348
fhanau merged 2 commits intomainfrom
felix/jsg-except-refactor

Conversation

@fhanau
Copy link
Contributor

@fhanau fhanau commented Feb 6, 2023

This commit resolves a TODO about refactoring code for different error types in decodeTunneledException. This should make the code more maintainable if there are future additions. I also added some test cases for handling compile errors and DOM exceptions since tunneling them was not tested before and adding them made it easier to spot potential bugs while refactoring the function.

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@fhanau
Copy link
Contributor Author

fhanau commented Feb 6, 2023

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Feb 6, 2023
@fhanau fhanau merged commit 98455c9 into main Feb 6, 2023
@fhanau fhanau deleted the felix/jsg-except-refactor branch March 7, 2023 20:03
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