Skip to content

Commit caca9aa

Browse files
authored
Update import from @sentry/node to @sentry/react-router (#13284)
1 parent 34d4c24 commit caca9aa

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/guides/react-router

1 file changed

+1
-1
lines changed

docs/platforms/javascript/guides/react-router/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Sentry.init({
176176
In your `entry.server.tsx` file, export the `handleError` function:
177177

178178
```tsx {diff} {filename: entry.server.tsx}
179-
import * as Sentry from "@sentry/node";
179+
import * as Sentry from "@sentry/react-router";
180180
import { type HandleErrorFunction } from "react-router";
181181

182182
export const handleError: HandleErrorFunction = (error, { request }) => {

0 commit comments

Comments
 (0)