Skip to content

Chore: Make inject script more robust on repl & stream#1429

Merged
Juice10 merged 3 commits intomasterfrom
try-catch-repl-stream
Apr 5, 2024
Merged

Chore: Make inject script more robust on repl & stream#1429
Juice10 merged 3 commits intomasterfrom
try-catch-repl-stream

Conversation

@Juice10
Copy link
Member

@Juice10 Juice10 commented Mar 18, 2024

This fails sometimes for me on some websites.
I think mainly due to a redirect making the frame not available anymore.

So we add a try/catch around it to make sure it works fine in all situations.

@changeset-bot
Copy link

changeset-bot bot commented Mar 18, 2024

🦋 Changeset detected

Latest commit: d474b3e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Juice10 Juice10 changed the title Make inject script more robust on repl & stream Chore: Make inject script more robust on repl & stream Mar 18, 2024
@Juice10 Juice10 merged commit e223399 into master Apr 5, 2024
@Juice10 Juice10 deleted the try-catch-repl-stream branch April 9, 2024 11:50
jaj1014 pushed a commit to pendo-io/rrweb that referenced this pull request Apr 30, 2024
* try/catch injection of recording script in rrweb repl and stream

* Add empty changesets
jxiwang pushed a commit to amplitude/rrweb that referenced this pull request Jul 31, 2024
* try/catch injection of recording script in rrweb repl and stream

* Add empty changesets
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