Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ class ExceptionHandler(
}
}
} catch (fatal: Exception) {
// Forward the original crash, not this secondary failure, so crash
// reporting reflects why the app actually died rather than why we
// failed to show the crash screen for it.
Log.e(TAG, "Fatal error in ExceptionHandler itself", fatal)
defaultExceptionHandler.uncaughtException(thread, fatal)
defaultExceptionHandler.uncaughtException(thread, exception)
return
}
// Forward to the default handler so AMS records the crash as REASON_CRASH and
Expand Down
Loading