Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions firebase-crashlytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased
* [fixed] Improved data consistency for rapid user actions.
* [fixed] Fixed exception propagation in the case of no default uncaught exception handler.
* [changed] Internal changes to improve startup time.
* [changed] Internal changes to the way background tasks are scheduled.
* [changed] Migrated SDK to use standard Firebase executors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@ public void uncaughtException(Thread thread, Throwable ex) {
} catch (Exception e) {
Logger.getLogger().e("An error occurred in the uncaught exception handler", e);
} finally {
Logger.getLogger().d("Completed exception processing. Invoking default exception handler.");
defaultHandler.uncaughtException(thread, ex);
if (defaultHandler != null) {
Logger.getLogger().d("Completed exception processing. Invoking default exception handler.");
defaultHandler.uncaughtException(thread, ex);
} else {
Logger.getLogger().d("Completed exception processing, but no default exception handler.");
System.exit(1);
}
isHandlingException.set(false);
}
}
Expand Down
Loading