Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve extension errors #350

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Improve extension errors #350

merged 2 commits into from
Aug 3, 2023

Conversation

emccorson
Copy link
Collaborator

@emccorson emccorson commented Aug 2, 2023

This PR fixes a bug where background errors were getting logged as [Object, object] in Chrome, and adds source maps for the extension on Firefox in development mode. These changes should make error reporting in the extension better.

I wanted to add source maps for Chrome, but the type of source map I chose uses eval, which is not supported in manifest v3. There are non-eval source maps, but these crashed webpack when I tried them.


Changed

  • Print background errors properly on Chrome (83792a1)

Added

  • Add extension source maps on Firefox (8890336)

@github-actions
Copy link

github-actions bot commented Aug 2, 2023

@github-actions github-actions bot temporarily deployed to pull request August 2, 2023 05:04 Inactive
@emccorson emccorson changed the title fix: print background errors properly on Chrome Improve extension errors Aug 2, 2023
@github-actions github-actions bot temporarily deployed to pull request August 2, 2023 06:19 Inactive
@emccorson emccorson marked this pull request as ready for review August 2, 2023 11:16
Copy link
Collaborator

@jurevans jurevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this looks good!

@github-actions github-actions bot temporarily deployed to pull request August 3, 2023 02:42 Inactive
@emccorson emccorson merged commit 8890336 into main Aug 3, 2023
5 checks passed
@mateuszjasiuk mateuszjasiuk deleted the fix/better-extension-errors branch September 13, 2024 09:35
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