-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
@sentry/node throws error #13574
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
Comments
I was not able to reproduce it, but I created a PR which could fix this: #13581 Please tell me if you still run in this problem after we released it. |
Thanks for the swift response. I'm sorry for the lack of reproducibility. I'm quite confused as to how this might be affecting me, but not everyone else that uses Sentry and The OTel package also suffers from this problem (as I discovered trying to work around this by downgrading). |
What exactly do you mean by "the OTel package also suffers from this problem"? Do you get the same error message when using OTel? |
I downgraded @sentry/node to before this problematic code was added, and I got a similar error thrown by I'm still confused as to why both of these places assume the More confusing is how I am the first person discovering this issue. The lack of prior reports makes me assume I must be doing something out-of-the-ordinary. But we have a pretty standard Typescript/Express app running in Node 20, so nothing strange as far as I can tell. |
This could also be an issue in OTel. They use undici and it seems like undici is adding the Possibly, it is a URL object which is coming in and then it cannot call the function. |
Ah that makes a ton of sense. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.28.0
Framework Version
No response
Link to Sentry event
https://cortex-click.sentry.io/issues/5792808360/events/a6cdf06b7c194f8eb107bcd8bea91d36/
Reproduction Example/SDK Setup
No response
Steps to Reproduce
It is unclear what situation triggers this issue, but this is crashing our application.
Expected Result
No error should be thrown. If it is thrown, it should be caught and not crash the process.
Actual Result
The text was updated successfully, but these errors were encountered: