-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add trpc path to context in trpcMiddleware #14158
Comments
So we do attach the path to spans if you have tracing enabled, but I think it also makes sense to add it as context. would you be open to create a PR to add this? |
Here you go: #14218 |
A PR closing this issue has just been released 🚀This issue was referenced by PR #14218, which was included in the 8.38.0 release. |
Problem Statement
It would make it easier to debug if I can see which trpc route is causing an issue. The current trpc route only add procedure type and input to the context.
Solution Brainstorm
Simply add path to trpc context in this function would likely work?
sentry-javascript/packages/core/src/trpc.ts
Lines 41 to 94 in 984a6bd
The text was updated successfully, but these errors were encountered: