Skip to content

Commit 019fe3b

Browse files
Update docs/platforms/react-native/integrations/default.mdx
Co-authored-by: LucasZF <[email protected]>
1 parent 8c7216a commit 019fe3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/platforms/react-native/integrations/default.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Here's a code example of how this could be implemented:
8787
await fetchMovieReviews(movie);
8888
} catch (e) {
8989
const fetchError = new Error(`Failed to fetch reviews for: ${movie}`);
90+
// @ts-expect-error cause is not exposed on default error class.
9091
fetchError.cause = e;
9192
Sentry.captureException(fetchError);
9293
}

0 commit comments

Comments
 (0)