-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
chore: upgrade rrweb for playback #21368
Conversation
+ onError: (e) => { | ||
+ // maintain the existing behaviour of throwing if no handler is provided | ||
+ throw e; | ||
+ }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very difficult to parse this patch but it's just this change and adding a try / catch
+ } catch (error) { | ||
+ this.config.onError(error); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
End of the try / catch
- id: lastPosition.id, | ||
- debugData: d, | ||
- }; | ||
+ try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start of try catch
Size Change: 0 B Total Size: 824 kB ℹ️ View Unchanged
|
Problem
Connected to PostHog/posthog-js#1115
Changes
Does this work well for both Cloud and self-hosted?
Yes
How did you test this code?
Ensured replays (including canvas playback) still works