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

feat: Register errorHandler inside of CanvasManager #161

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Jan 29, 2024

Needed as we (Sentry), codesplit CanvasManager. Also fixes uncaught exceptions from createImageBitmap

Copy link

github-actions bot commented Jan 29, 2024

size-limit report 📦

Path Size
rrweb - record only (gzipped) 16.69 KB (0%)
rrweb - record & CanvasManager only (gzipped) 19.35 KB (+0.05% 🔺)
rrweb - record only (min) 56.96 KB (+0.03% 🔺)
rrweb - record with treeshaking flags (gzipped) 15.47 KB (+0.02% 🔺)

@billyvg billyvg marked this pull request as ready for review January 29, 2024 22:57
@billyvg billyvg requested review from mydea and c298lee January 29, 2024 22:57
… attributes (#160)

Probably fixes
getsentry/sentry-javascript#10292

Not sure how `attr.name` could be undefined here but according to the
issue, it happens and we should probably guard adding the attribute.
@billyvg billyvg force-pushed the feat-pass-error-handler-to-canvas-manager branch from 4e88f4e to 07e4a5e Compare January 30, 2024 00:13
Needed as we (Sentry), codesplit CanvasManager. Also fixes uncaught exceptions from `createImageBitmap`
@billyvg billyvg force-pushed the feat-pass-error-handler-to-canvas-manager branch from 07e4a5e to a67d9b9 Compare January 30, 2024 00:14
@billyvg billyvg merged commit c79619f into sentry-v2 Jan 31, 2024
14 checks passed
@billyvg billyvg deleted the feat-pass-error-handler-to-canvas-manager branch January 31, 2024 16:05
billyvg added a commit that referenced this pull request Apr 26, 2024
Needed as we (Sentry), codesplit CanvasManager. Also fixes uncaught
exceptions from `createImageBitmap`

---------

Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
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.

3 participants