mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 17:19:00 +03:00
handle exceptions for chrashlytics
This commit is contained in:
parent
2c1dbdc008
commit
ed442d9db9
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ class GlobalExceptionHandler private constructor(
|
|||
try {
|
||||
logcat(priority = LogPriority.ERROR, throwable = exception)
|
||||
launchActivity(applicationContext, activityToBeLaunched, exception)
|
||||
defaultHandler.uncaughtException(thread, exception)
|
||||
exitProcess(0)
|
||||
} catch (_: Exception) {
|
||||
defaultHandler.uncaughtException(thread, exception)
|
||||
|
|
Loading…
Reference in a new issue