diff options
author | Allan Wang <me@allanwang.ca> | 2018-09-27 18:33:12 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2018-09-27 18:33:12 -0400 |
commit | 38e77e52e023f8fa5b595a7bd81f12d646fe77a7 (patch) | |
tree | fd92543b5c8c1383e30a3fcafab84576f919664b /app/src/main | |
parent | d29202ea6beec2755c7babe20c55d85ff1017851 (diff) | |
download | frost-38e77e52e023f8fa5b595a7bd81f12d646fe77a7.tar.gz frost-38e77e52e023f8fa5b595a7bd81f12d646fe77a7.tar.bz2 frost-38e77e52e023f8fa5b595a7bd81f12d646fe77a7.zip |
Ignore undeliverables
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt index dd6a0c40..178aa8bb 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt @@ -83,6 +83,7 @@ class FrostApp : Application() { Bugsnag.setUserId(Prefs.frostId) Bugsnag.beforeNotify { error -> when { + error.exception is UndeliverableException -> false error.exception.stackTrace.any { it.className.contains("XposedBridge") } -> false else -> true } |