You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(import.meta.env.PROD){Sentry.init({dsn : "https://example.dsn",tracesSampleRate: 1.0,// This sets the sample rate to be 10%. You may want this to be 100% while// in development and sample at a lower rate in productionreplaysSessionSampleRate: 0.1,// If the entire session is not sampled, use the below sample rate to sample// sessions when an error occurs.replaysOnErrorSampleRate: 1.0,// If you don't want to use Session Replay, just remove the line below:integrations: [newReplay()],environment: "production",release: version})}// If you have a custom error handler, pass it to `handleErrorWithSentry`exportconsthandleError=import.meta.env.PROD ? handleErrorWithSentry() : null
Steps to Reproduce
Create SvelteKit app with adapter-static
Install Sentry using npx @sentry/wizard@latest -i sveltekit
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
7.63.0
Framework Version
1.5.0
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
adapter-static
npx @sentry/wizard@latest -i sveltekit
vite build
Expected Result
The process finish normally, without any error.
Actual Result
The text was updated successfully, but these errors were encountered: