mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Disable sentry event sending on debug builds
This commit is contained in:
@@ -40,6 +40,10 @@ class BugReportService: BugReportServiceProtocol {
|
||||
|
||||
// enable SentrySDK
|
||||
SentrySDK.start { options in
|
||||
#if DEBUG
|
||||
options.enabled = false
|
||||
#endif
|
||||
|
||||
options.dsn = sentryEndpoint
|
||||
|
||||
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
|
||||
|
||||
Reference in New Issue
Block a user