From 38e77e52e023f8fa5b595a7bd81f12d646fe77a7 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 27 Sep 2018 18:33:12 -0400 Subject: Ignore undeliverables --- app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src') 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 } -- cgit v1.2.3