Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add stack trace onerror when error object is available #46
Conversation
|
This would be pretty useful for us, and I like the simplicity of it. A more cross-browser solution would turn out to be pretty involved: https://blog.sentry.io/2016/01/04/client-javascript-reporting-window-onerror.html |
|
Thanks for the suggestion! We will review this next time we do an update of the library. |
#24
Most browsers now support the Error object as a 5th parameter to onerror. PR uses the error object to include a stack trace as per the issue above.