Skip to content

Conversation

@benjackwhite
Copy link
Contributor

The error parser can throw if it fails to parse the error which is very meta. This ends up being logged / caught in Sentry which is unnecessary.

Changes

Rather than wrapping all of the places it is used, simply changes the function to return cleanly with a warning

@changeset-bot
Copy link

changeset-bot bot commented May 15, 2023

⚠️ No Changeset found

Latest commit: 046acf4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

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

Click here to learn what changesets are, and how to add one.

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

Copy link
Member

@YunFeng0817 YunFeng0817 left a comment

Choose a reason for hiding this comment

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

This change makes sense.

@YunFeng0817 YunFeng0817 merged commit 4dcdcf7 into rrweb-io:master May 15, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Jul 27, 2023
* Warn instead of throwing error when parsing for console logs

* Added error to warning
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Jul 27, 2023
* Warn instead of throwing error when parsing for console logs

* Added error to warning
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Jul 27, 2023
* Warn instead of throwing error when parsing for console logs

* Added error to warning
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Aug 3, 2023
* Warn instead of throwing error when parsing for console logs

* Added error to warning
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Aug 8, 2023
* Warn instead of throwing error when parsing for console logs

* Added error to warning
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Aug 8, 2023
* Warn instead of throwing error when parsing for console logs

* Added error to warning
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