Skip to content

Commit

Permalink
add unhandled exception to tabnavigatorobserver catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
szydlovsky committed Jan 15, 2025
1 parent b02cdb0 commit ae8b7a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void onFragmentUpdate(Fragment fragment, boolean isAttaching) {
nextTransition.add(firstScreen);
}
firstScreen = null;
} catch (IllegalAccessException | InvocationTargetException e) {
} catch (IllegalAccessException | InvocationTargetException e | NullPointerException e) {
String message = e.getMessage() != null ? e.getMessage() : "Unable to get screen view";
Log.e("[Reanimated]", message);
}
Expand Down

0 comments on commit ae8b7a8

Please sign in to comment.