Skip to content

fix(core): Wrap SDK logic in try/catch in NavigationContainer onReady

134cc57
Select commit
Loading
Failed to load commit list.
Open

feat(tracing): Add Sentry.NavigationContainer wrapper for React Navigation #6199

fix(core): Wrap SDK logic in try/catch in NavigationContainer onReady
134cc57
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: find-bugs completed May 21, 2026 in 10m 52s

1 issue

find-bugs: Found 1 issue (1 low)

Low

Module-level warning flags are never reset, causing silent test failures and missed re-warnings - `packages/core/src/js/NavigationContainer.tsx:6-9`

The three module-level booleans (_warnedMissing, _warnedNoClient, _warnedNoIntegration) are set once per process lifetime; jest.clearAllMocks() in beforeEach does not reset them, so any new test that exercises the same warning path will silently skip the debug.warn/debug.log assertion.


โฑ 10m 28s ยท 741.3k in / 77.8k out ยท $2.16