Tim Fish
Tim Fish
I'm not really sure how `electron-webpack` works and I don't know how you're configuring the Sentry webpack plugin to work with it since you haven't show this. It looks like...
This detail is already [in the docs](https://docs.sentry.io/platforms/javascript/guides/electron/#bundler-configuration) but probably needs adding to the repository readme.
This is a strange one since I can't reproduce this locally 🤔
> Seems like the request headers are only added for the store endpoint and node? I ran the e2e tests and logged the headers at the test server and logged...
Now I'm thinking it may be related to the ordering/execution here: https://github.com/getsentry/sentry-electron/blob/75a3b3bbd0ce98f2506b74d3a2b3cf55b11ed2cf/src/main/integrations/net-breadcrumbs.ts#L134-L139 `originalRequestMethod.apply` is calling and starting the request. I'm only actually seeing `electron.net` breadcrumbs for failed requests. If the...
The docs cover this. You should be using `beforeSend`: https://docs.sentry.io/platforms/javascript/guides/electron/enriching-events/attachments/#add-or-modify-attachments-before-sending
With the Electron SDK, all events are sent from the main process. The issue with adding attachments in the renderer is that they will need to be sent over IPC...
> IIrc that format was quite heavyweight Indeed it can be, although it looks like you have full control of the categories that are captured so it might be possible...
> just import our own profiling sdk for node In Electron you have the main root node process that is mainly used for opening and taking care of windows and...
`@sentry/electron` merges all events from the Electron main and renderer processes and it requires access to node.js and IPC to do this. This is possible securely in renderer processes because...