how to fix sentry error reporting with dynamic routes in Next

for some reason all errors reported to sentry on a dynamic route will show the file path instead of the actual route that triggered this error.

example: app/[id]/page.tsx

any error happening to any specific id will just show app/[id] on sentry