diff --git a/dev-packages/e2e-tests/test-applications/nextjs-15/package.json b/dev-packages/e2e-tests/test-applications/nextjs-15/package.json index 39fcedf174da..8fd9f4368977 100644 --- a/dev-packages/e2e-tests/test-applications/nextjs-15/package.json +++ b/dev-packages/e2e-tests/test-applications/nextjs-15/package.json @@ -17,7 +17,7 @@ "@types/node": "18.11.17", "@types/react": "18.0.26", "@types/react-dom": "18.0.9", - "next": "15.0.0-canary.77", + "next": "15.0.0-canary.112", "react": "beta", "react-dom": "beta", "typescript": "4.9.5" diff --git a/packages/nextjs/src/common/captureRequestError.ts b/packages/nextjs/src/common/captureRequestError.ts index 7968907ad9bf..8350a0f2e593 100644 --- a/packages/nextjs/src/common/captureRequestError.ts +++ b/packages/nextjs/src/common/captureRequestError.ts @@ -1,7 +1,7 @@ import { captureException, withScope } from '@sentry/core'; type RequestInfo = { - url: string; + path: string; method: string; headers: Record; }; @@ -33,7 +33,7 @@ export function experimental_captureRequestError( }); scope.setContext('nextjs', { - request_path: request.url, + request_path: request.path, router_kind: errorContext.routerKind, router_path: errorContext.routePath, route_type: errorContext.routeType,