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