-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
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/gatsby
SDK Version
7.100.1
Framework Version
5.12.11
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: {my_dsn},
enabled: process.env.NODE_ENV === 'development',
environment: process.env.NODE_ENV,
tracesSampleRate: 1.0
})
Steps to Reproduce
- upgrade to latest
@sentry/gatsbyversion to reduce bundle size - start a staging build in gatsby cloud
- error logged
Expected Result
works as it did in 7.42.0
Actual Result
TypeError: Cannot read properties of undefined (reading 'href')
- browserTracingIntegration.js:185 Object.afterAllSetup
[...]/[@sentry-internal]/tracing/esm/browser/browserTracingInte gration.js:185:31
- integration.js:98 afterSetupIntegrations
[...]/[@sentry]/core/esm/integration.js:98:1
- baseclient.js:423 BrowserClient._setupIntegrations
[...]/[@sentry]/core/esm/baseclient.js:423:5
- baseclient.js:270 BrowserClient.init
[...]/[@sentry]/core/esm/baseclient.js:270:1
- sdk.js:56 initializeClient
[...]/[@sentry]/core/esm/sdk.js:56:1
Metadata
Metadata
Assignees
Labels
Projects
Status
No status
