You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're doing some hacky stuff to make Fastify work inside the main electron process. Somehow its hitting this line every time inside the electron process.
When the Fastify server runs directly with node, it works as normal.
I'm thinking this is because this project uses direct imports of @sentry/node and in our case we might need to use @sentry/electron. Is there a way to change it or could you guys give us some help?
The text was updated successfully, but these errors were encountered:
arthurfiorette
changed the title
How to use other Sentry instances?
Usage of fastify + sentry inside a electron process.
Apr 3, 2024
Hi @arthurfiorette , I am not familiar with Sentry SDK in electron environments. Using another @sentry/* package would require the use of dynamic imports in the plugin code I think, not sure if that's enough though. Unfortunately I don't have the time to test this right now.
We're doing some hacky stuff to make Fastify work inside the main electron process. Somehow its hitting this line every time inside the electron process.
fastify-sentry/lib/request.js
Line 145 in 598a4dc
When the Fastify server runs directly with node, it works as normal.
I'm thinking this is because this project uses direct imports of
@sentry/node
and in our case we might need to use@sentry/electron
. Is there a way to change it or could you guys give us some help?The text was updated successfully, but these errors were encountered: