-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Closed as not planned
Copy link
Labels
BugPackage: svelteIssues related to the Sentry Svelte SDKIssues related to the Sentry Svelte SDKStale
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/svelte
SDK Version
7.101.0
Framework Version
7.101.0
Link to Sentry event
No response
SDK Setup
I use a basic SDK setup just to get errors tracking in the Electron main process and preload process:
Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN,
tracesSampleRate: 1.0,
});And the same thing with browserTracingIntegration in the renderer:
Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN,
integrations: [browserTracingIntegration()],
tracesSampleRate: 1.0,
});Steps to Reproduce
- Clone the example repo here
https://github.com/motiapp/sentry-electron-vite-svelte-demo - Create an .env file using the .env-example as a template and fill in values
npm i && npm run dev- click the Crash in Renderer button
- click the Crash in Main button
Expected Result
- The error 'Renderer crashes are fun' should be reported when clicking the Crash in Renderer button.
- The app will crash and 2 errors will occur when clicking the Crash in Main button: 'manual exception thrown in main' and a native process crash.
Actual Result
The renderer crashes will not be reported, only the main process crashes.
Metadata
Metadata
Assignees
Labels
BugPackage: svelteIssues related to the Sentry Svelte SDKIssues related to the Sentry Svelte SDKStale
Projects
Status
No status
Status
Waiting for: Community