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

[console-plugin] Feat: Record unhandledrejection event #1104

Conversation

jlalmes
Copy link
Contributor

@jlalmes jlalmes commented Jan 31, 2023

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.

Thanks for your great patch to console-plugin.

packages/rrweb/src/plugins/console/record/index.ts Outdated Show resolved Hide resolved
@jlalmes jlalmes force-pushed the feat/console-plugin/add-unhandledrejection-handler branch from e24d463 to 69484f4 Compare February 2, 2023 04:28
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.

I made some changes in another branch https://github.com/rrweb-io/rrweb/commits/jlalmes-feat/console-plugin/add-unhandledrejection-handler. Could you please take a look at them?
commit 1 :
change the window object to the passed in 'win'. I just noticed these problems in the old version. I'm trying to fix them in the PR by the way.

commit 2
improve serialized error messages

…d-unhandledrejection-handler' into feat/console-plugin/add-unhandledrejection-handler
@jlalmes
Copy link
Contributor Author

jlalmes commented Feb 2, 2023

@Mark-Fenng both of these look good to me, I have merged your commits into this branch. 👍

@YunFeng0817
Copy link
Member

YunFeng0817 commented Feb 2, 2023

Thank you! I will merge this if no more people review this by the end of this week.

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