Crash when using top level init
See original GitHub issue- Review the documentation: https://docs.sentry.io/platforms/javascript/electron/
- Search for existing issues: https://github.com/getsentry/sentry-electron/issues
- Use the latest release: https://github.com/getsentry/sentry-electron/releases
- ~Provide a link to the affected event from your Sentry account~
Versions + Platform
- SDK version -
@sentry/electron@v3.0.6
- Electron version -
electron@v14.2.7
- Platform -
macOS
Description
The following code throws a TypeError when called in renderer
import { init } from "@sentry/electron";
init({ dns: <valid dsn> });
The problem seems to be that autoSessionTracking
is “on by default” but only works in main
so it throws in `renderer.
Issue Analytics
- State:
- Created a year ago
- Comments:10
Top Results From Across the Web
Why does my explicit init crash? - Using Swift
For any struct that has at least one defaulted property, the behaviour is observably different between using the generated memberwise init and a ......
Read more >Runtime crash "outlined init with take of any ..." #61403 - GitHub
Describe the bug Crash in Release mode or if Optimization Level of Swift Compiler - Code Generation is Optimize for Speed [-O].
Read more >Threaded Tkinter script crashes when creating the second ...
When I run my code, the first Toplevel widget is created successfully, but when it tries to create a second one the program...
Read more >crash(8) - Linux manual page - man7.org
NAME top. crash - Analyze Linux crash dump data or a live system ... of the traditional UNIX crash utility with the source...
Read more >How to troubleshoot kernel crashes, hangs, or reboots with ...
The crash dumps are captured from the context of a freshly booted kernel; not from the context of the crashed kernel. Kdump uses...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We have two webpack configurations, one with
target: "electron-main",
and the other withtarget: "electron-renderer",
. However, we currently havenode-integration: true
turned on for our renderer.A fix for this has been released in 3.0.7