aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-09-27 18:33:12 -0400
committerAllan Wang <me@allanwang.ca>2018-09-27 18:33:12 -0400
commit38e77e52e023f8fa5b595a7bd81f12d646fe77a7 (patch)
treefd92543b5c8c1383e30a3fcafab84576f919664b /app/src
parentd29202ea6beec2755c7babe20c55d85ff1017851 (diff)
downloadfrost-38e77e52e023f8fa5b595a7bd81f12d646fe77a7.tar.gz
frost-38e77e52e023f8fa5b595a7bd81f12d646fe77a7.tar.bz2
frost-38e77e52e023f8fa5b595a7bd81f12d646fe77a7.zip
Ignore undeliverables
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt1
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
}