chore: Add some more logging to global exc handler

This commit is contained in:
Peter Vacho 2025-01-02 14:33:28 +01:00
parent 7d143e2f60
commit a6579e6434
Signed by: school
GPG key ID: 8CFC3837052871B4

View file

@ -17,7 +17,7 @@ class GlobalExceptionHandler(
override fun uncaughtException(t: Thread, e: Throwable) {
if (e !is HttpException) {
// Let the default handler manage other exceptions
Log.e("GlobalExceptionHandler", "Propgating unhandled exception", e)
defaultHandler?.uncaughtException(t, e)
return
}
@ -43,6 +43,7 @@ class GlobalExceptionHandler(
return
}
Log.e("GlobalExceptionHandler", "Propgating unhandled exception", e)
defaultHandler?.uncaughtException(t, e)
return
}