Skip to content

Commit

Permalink
Use correct capture name in remix docs (#7956)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Sep 26, 2023
1 parent 69b474c commit 56cdf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/javascript/guides/remix/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export const ErrorBoundary: V2_ErrorBoundaryComponent = () => {

## v2 Server-side Errors

Sentry won't be able to capture your server-side errors automatically if you're using the`v2_errorBoundary` future flag. To work around this, define a [`handleError`](https://remix.run/docs/en/main/file-conventions/entry.server#handleerror) function in your server entry point. Then use `Sentry.captureRemixServerError` to capture errors in your server-side code.
Sentry won't be able to capture your server-side errors automatically if you're using the`v2_errorBoundary` future flag. To work around this, define a [`handleError`](https://remix.run/docs/en/main/file-conventions/entry.server#handleerror) function in your server entry point. Then use `Sentry.captureRemixServerException` to capture errors in your server-side code.

```typescript {filename: entry.server.tsx}
export function handleError(
Expand Down

0 comments on commit 56cdf7a

Please sign in to comment.