-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
10.28.0
Framework Version
Nuxt 4.2.1
Link to Sentry event
Reproduction Example/SDK Setup
The Node 24 runtime in AWS Lambda appears to be incompatible with Sentry (@sentry/node -- underlying @sentry/nuxt in our case). It is likely an OpenTelemetry issue, but not sure exactly which package.
After upgrading the runtime in AWS, we immediately started being flooded with this error:
TypeError: this.invokeStore.getTenantId is not a function
at TelemetryLogger.log (/var/runtime/index.mjs:1479:39)
...
It appears that anywhere in the application where console.log() or console.error() etc. was called, this error would be triggered. I removed the logging integration from Sentry, just in case that was the cause, but, as I had kind of already assumed, did not resolve the issue.
I figured, based on the class name, that this is from otel, and I did find this issue, but nothing exactly related.
Hoping someone here who has more knowledge of how the packages all sort themselves out can file an appropriate report.
There's probably some combination of settings that could remove this TelemetryLogger call, but that would probably take away from what we're trying to get out of Sentry. So, for now, I just swapped back to Node 22 and everything is fine again.
Steps to Reproduce
Use console.log() somewhere in the deployed application.
Expected Result
No errors generated in Sentry.
Actual Result
TypeError: this.invokeStore.getTenantId is not a function
Additional Context
No response
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Metadata
Metadata
Assignees
Projects
Status