-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron process running multiple times after init sentry in main process #974
Comments
Assigning to @getsentry/support for routing ⏲️ |
Hey, I've transferred this issue to the sentry-electron repo. @timfish could you take a look? |
@arjunByldd01 do you have a more complete example app that replicates this issue? We've got extensive e2e tests where this doesn't occur and this issue has not been reported before so I suspect the issue is caused by code that has not been supplied! |
Closing this for clean-up. Please re-open if it still applies. Thank you! |
Steps to Reproduce
I implemented sentry using your doc
I created sentry.init.main and sentry.init.renderer file, and I added code that mentioned in doc for main and renderer. After this I imported these files in main and renderer process.
when I start my application it creates two tray icon. In other words it run my window creation process twice.
And on sentry it shows this error - Attempted to register a second handler for 'window-minimize'
Can you help me to understand what's this behaviour is
I also run the wizard command mentioned in doc
command - npm install -g @sentry/wizard sentry-wizard --integration electron
Expected Result
It should not run electron process twice
Actual Result
When I run my app it runs all my electron process twice and also created two tray icon for my app.
Additional Info
No response
The text was updated successfully, but these errors were encountered: