Skip to content

feature(android): support unhandled java error throwables - #406

Merged
KishanPRao merged 3 commits into
mainfrom
fix/support-unhandled-java-errors
Oct 6, 2026
Merged

KishanPRao merged 3 commits into
mainfrom
fix/support-unhandled-java-errors

Conversation

@KishanPRao

@KishanPRao KishanPRao commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Unhandled Java Error throwables such as StackOverflowError, OutOfMemoryError and NoClassDefFoundError now produce a crash report on Android, similar to exceptions.

Changes

  • BacktraceAndroidBackgroundUnhandledExceptionHandler.java: reports every throwable instead of only exceptions, still hands the throwable to the previous handler when the report fails.
  • BacktraceAndroidBackgroundUnhandledExceptionHandlerTest.java: covers StackOverflowError, OutOfMemoryError and NoClassDefFoundError, a callback that throws, a second crash after the first.

ref: BT-7811

@KishanPRao
KishanPRao requested a review from melekr October 6, 2026 11:46
@KishanPRao KishanPRao self-assigned this Oct 6, 2026
@KishanPRao KishanPRao added the enhancement New feature or request label Oct 6, 2026
@KishanPRao
KishanPRao marked this pull request as ready for review October 6, 2026 12:10
@KishanPRao KishanPRao changed the title feature: support unhandled java error throwables on android feature(android): support unhandled java error throwables Oct 6, 2026
@KishanPRao
KishanPRao merged commit 2727e5a into main Oct 6, 2026
12 checks passed
@KishanPRao
KishanPRao deleted the fix/support-unhandled-java-errors branch October 6, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants