Bug: no xhr breadcrumbs for error in onreadystatechange
See original GitHub issueI think it’s a bug
When Raven instruments XMLHttpRequest
and error occurs in onreadystatechange
user function we don’t see current request details in breadcrumbs for current error, because Raven log request in onreadystatechange
after user code.
What is the current behavior?
Here is fiddle, just check console and see order of ravenTransport breadcrumb
and setBreadcrumbCallback
messages.
What is the expected behavior?
It will be great if Raven can put xhr request info in breadcrumbs for onreadystatechange
too.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
XMLHttpRequest (Ajax) Error - javascript - Stack Overflow
I see 2 possible problems: Problem 1. the XMLHTTPRequest object has not finished loading the data at the ...
Read more >@bugsnag/js | Yarn - Package Manager
Bugsnag error monitoring & reporting for JavaScript. Automatically detect JavaScript errors in the browser, Node.js and React Native, with plugins for React ...
Read more >Changelog - Cypress Documentation
Fixed a bug where the cypress/svelte cy.mount() command was not logging by ... stack error would throw in some circumstances when xhr.onreadystatechange is ......
Read more >[0] at end of XHR message in breadcrumbs - #sentry
But we don't consider it a “bug” that these breadcrumbs appear. It can be valuable to understand if a request was canceled leading...
Read more >Code coverage report for node-npmtest-raven-js ...
This is // expected behavior and NOT indicative of a bug with ... capture the breadcrumb xhr.onreadystatechange = onreadystatechangeHandler; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed. The order in the universe is restored once again. ☕
@stefan-hc
5.17.0
has been released. Let me know if that fixed it for you