Description
Today, the Next.js SDK in many cases captures only headers as event.request data, e.g. like this:
|
isolationScope.setSDKProcessingMetadata({ |
This leads to the url being missing context when looking at issues. We should investigate if we can find a way to add the url there, somehow - this probably involves injecting the url at some earlier point into async local storage so we can pick it up in our handlers, or something like this...
Description
Today, the Next.js SDK in many cases captures only headers as
event.requestdata, e.g. like this:sentry-javascript/packages/nextjs/src/common/wrapGenerationFunctionWithSentry.ts
Line 70 in 56137a8
This leads to the url being missing context when looking at issues. We should investigate if we can find a way to add the url there, somehow - this probably involves injecting the url at some earlier point into async local storage so we can pick it up in our handlers, or something like this...