1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-09-20 07:31:40 +02:00

Ignore undeliverables

This commit is contained in:
Allan Wang 2018-09-27 18:33:12 -04:00
parent d29202ea6b
commit 38e77e52e0

View File

@ -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
}