Disable sentry event sending on debug builds

This commit is contained in:
Stefan Ceriu
2022-06-10 14:06:28 +03:00
parent 9d21fe12f0
commit 1be403e60a
@@ -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.