Commit b6699f04 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Don't enable Sentry in debug

parent 0093eea7
...@@ -248,6 +248,7 @@ class SmokeScreen : Application() { ...@@ -248,6 +248,7 @@ class SmokeScreen : Application() {
} }
private fun getSentryDSN(then:(dsn:String) -> Unit) { private fun getSentryDSN(then:(dsn:String) -> Unit) {
if(BuildConfig.DEBUG) return
try { try {
val primaryDSN = BuildConfig.SENTRY_DSN val primaryDSN = BuildConfig.SENTRY_DSN
val configServer = BuildConfig.SENTRY_DSN_CONFIGSERVER val configServer = BuildConfig.SENTRY_DSN_CONFIGSERVER
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment