Closed
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?
Self-hosted/on-premise
Which SDK are you using?
@sentry/astro
SDK Version
7.77.0
Framework Version
3.4.2
Link to Sentry event
No response
SDK Setup
See repro below
Steps to Reproduce
See repro on https://github.com/aldy505/sentry-astro-endpoints-reproduction
Try for development build:
Run npm run dev
, then curl http://localhost:4321/sentry-endpoints/hello
. Check terminal/console, expect to see:
Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'
Then try for production build:
Run npm run build
, execute NODE_ENV=production node ./dist/server/entry.mjs
, then curl http://localhost:4321/sentry-endpoints/hello
. Check terminal/console, expect to see:
Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'
Expected Result
Sentry is initialized and event is sent.
Actual Result
Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'
Metadata
Metadata
Assignees
Type
Projects
Status
No status