-
Notifications
You must be signed in to change notification settings - Fork 60
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
raygun4js hijacking console.log stack trace in developer tools, even when not enabled. #348
Comments
Thanks for raising the issue @JLongley. Sadly there isn't a way to currently disable this behaviour. We can look at fix this behaviour in a future release but I can't give a estimate as to when that would be :) |
We have recently upgraded our Raygun dependency from "2.2.5" to "2.25.1" and discovered the same issue. In our case it is causing delays of up to 40 seconds in our development environment. @BenjaminHarding can you please provide an update on the status of this issue. Can you also please provide suggested JS code to workaround this in the meantime. i.e. what is the recommended way to revert default behavior In the meantime we have tested various version and decided to stay on 2.5.3 which does not have the console.log hijack |
Hi @hipitihop - Ben Harding isn't with Raygun these days, but I'll bring in one of the team to pick this up! |
@CmdrKeen Thanks. I like to also note that this console hijack also tends to obfuscate the devtools/console log source. It links to this hijack, instead of the true source generating the log entry. |
Hi @hipitihop, The console wrapper can be disabled by calling
This is concerning, and definitely shouldn't be occurring. I'd be interested to know if still happens when using |
@Widdershin Thanks for the prompt response. With 2.25.3 that fn |
@hipitihop glad that sorted it out. We're planning to disable console breadcrumbs by default in a future release. I'll open a separate issue to track that performance problem, definitely sounds like something we should get to the bottom of. What sort of delays did you experience? Full page freezes or delays in sending exceptions? I think the XHR wrapper not disabling is a known issue, but I'll try to get that resolved for the next release in any case. |
|
We use raygun for error logging in production, but want to have it disabled in development mode.
After importing the module into our react project, it makes debugging locally with console.log quite difficult because it overwrites the stack trace of the original message with one that just points down into the internals of the module.
e.g.:
In the console:
Is there any way to disable this behavior?
The text was updated successfully, but these errors were encountered: