Issue
Applies To
- Any User using the Electron SDK
Resolution
When calling the init
method of the SDK in the renderer process, you will want to combine SDKs as described here: https://docs.sentry.io/platforms/javascript/guides/electron/#framework-specific-sdks
Because you want to end up starting both the Electron and React SDKs.
This may not be strictly necessary to have Sentry.ErrorBoundary working in all cases but it's recommended to use the React SDK this way for the best possible experience.
By default the Electron SDK wraps the base browser SDK but passing a framework-specific SDK's init
will allow it to wrap other SDKs
I am attempting to use Sentry.ErrorBoundary in an Electron app built with React.JS. Is this possible?