sentry-electron
sentry-electron copied to clipboard
Sync global scope from render process to main process
Problem Statement
It seems only current scope and isolated scope are synced to main process. Why not to sync global scope to main process? https://github.com/getsentry/sentry-electron/blob/master/src/common/scope.ts
Solution Brainstorm
Can we add getGlobalScope().addScopeListener? Or is there any problem to do so?
Is there any reason you're using the global scope rather than the current scope?
Is there any reason you're using the global scope rather than the current scope?
I want to use it to store data that should apply to all events, such as environmental information.