aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt6
1 files changed, 6 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 ae4360a5..dd6a0c40 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
@@ -81,6 +81,12 @@ class FrostApp : Application() {
Bugsnag.setAutoCaptureSessions(true)
Bugsnag.setUserId(Prefs.frostId)
+ Bugsnag.beforeNotify { error ->
+ when {
+ error.exception.stackTrace.any { it.className.contains("XposedBridge") } -> false
+ else -> true
+ }
+ }
}
KL.shouldLog = { BuildConfig.DEBUG }
Prefs.verboseLogging = false