How to disable or unload sentry?
See original GitHub issue- [ x ] Review the documentation: https://docs.sentry.io/platforms/javascript/electron/
- [ x ] Search for existing issues: https://github.com/getsentry/sentry-electron/issues
- [ x ] Use the latest release: https://github.com/getsentry/sentry-electron/releases
- Provide a link to the affected event from your Sentry account
Versions + Platform
- SKD version - `@sentry/electron@v1.1.0
- Electron version - `electron@v7.1.7
- Platform -
Linux
Description
How to disable sentry which was enabled on app start (reference implementation: https://github.com/getsentry/sentry-electron/tree/master/example )
Background: i wan’t my users to be able to disable error-reporting if they want to (DSGVO). This user preference will be stored in a json file and loaded on start or when the user changes the setting.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Option to disable sentry - SDKs
Hi, is there a way to uninitialize Sentry after a previous initialization? I need to allow the user to decide if they consent...
Read more >Managing the Sentry Service | 6.3.x - Cloudera Documentation
Important: When Sentry is enabled, you must use Beeline to execute Hive queries. Hive CLI is not supported with Sentry and must be...
Read more >Install the Component – Hardware Sentry KM for PATROL ...
There is no true removal procedure for a Component Type. However, you can unload all UI elements of Hardware Sentry by deleting the...
Read more >iobroker.openweathermap - npm
This adapter uses Sentry libraries to automatically report exceptions and code errors to the ... (Apollon77) updated unload/stop handling ...
Read more >Sentry - Citizens Wiki
Add KillDrops option to remove the item and exp drops from Sentry kills. ... Compatibility fixes for Chunk Unload settings in citizens2.
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
Thanks for highlighting, we might consider adding a better API for this.
Sentry.getCurrentHub().getClient().getOptions().enabled = false;
seems to work for sentry-electron as well. Might be worth adding it to the docs.