Skip to content

Commit d0b0bb2

Browse files
committed
feat: sentry error boundry
1 parent 96a5260 commit d0b0bb2

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/app/_layout.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ Sentry.init({
1414

1515
function Layout() {
1616
return (
17-
<Stack
18-
screenOptions={{
19-
headerShown: false,
20-
}}
21-
/>
17+
<Sentry.ErrorBoundary>
18+
<Stack
19+
screenOptions={{
20+
headerShown: false,
21+
}}
22+
/>
23+
</Sentry.ErrorBoundary>
2224
);
2325
}
2426

0 commit comments

Comments
 (0)