-
Notifications
You must be signed in to change notification settings - Fork 255
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
stop monkeyPatching fetch API #660
Comments
It's the only way to track network requests as breadcrumbs, since the browser doesn't offer an event for it. You can switch this off with the |
@bengourley The Using v6 of Bugsnag, btw. |
@sassomedia, in Use: Bugsnag.start({
enabledBreadcrumbTypes: ['error', 'log', 'navigation', 'user']
}) Omitting |
@xander-jones Thanks for the quick reply, although I don't see this working either. That |
@sassomedia, sorry made an error in my comment above, this is for I think the issue you're seeing is that you're changing the Bugsnag config after instantiating Bugsnag, so at this point If you use the following, you can use Bugsnag, and we won't be patching var bugsnagClient = bugsnag({
apiKey: 'cdd848e5d2da0a26bda6f31a42452428',
networkBreadcrumbsEnabled: false
});
window.bugsnagClient = bugsnagClient;
console.log(fetch); Results in:
|
@xander-jones Ah ok, yes that makes sense. Works for me, thanks a bunch! |
No description provided.
The text was updated successfully, but these errors were encountered: