Closed
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Create a Nextjs project with Turborepo (https://vercel.com/templates/next.js/turborepo-next-basic)
- Configure Sentry manualy (https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/?original_referrer=https%3A%2F%2Fwww.google.com%2F)
- Inside the pages directory, create a page with a dynamic param. [id].tsx for instance.
- Inside the new file, create and export a component as a Next.js page.
- Throw an exception in any part of this component (like on a event handler) and capture it with Sentry.
Expected Result
I expect that the issue presented on Sentry is able to find the correct sourcemap for the file.
Actual Result
Looks like it tries to encode the dynamic param part of the sourcemap name and never finds it in the artifacts of the release, even though it exists there.
The disclaimer about sourcemap in the issue:
Product Area
Issues - Source Maps
Link
No response
DSN
No response
Version
No response
Metadata
Metadata
Assignees
Type
Projects
Status
No status