-
-
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
[console-plugin] Feat: Record unhandledrejection
event
#1104
[console-plugin] Feat: Record unhandledrejection
event
#1104
Conversation
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.
Thanks for your great patch to console-plugin.
e24d463
to
69484f4
Compare
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.
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
@Mark-Fenng both of these look good to me, I have merged your commits into this branch. 👍 |
Thank you! I will merge this if no more people review this by the end of this week. |
https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event