-
-
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
attachRpcInput not working for trpc v11 #13795
Comments
Or maybe it is sending the input but its hidden somewhere in the UI I'm not seeing! 🤔🤔 |
@DawnMD thanks for reaching out – could you send me a link to a specific event? If you don't want to share it here you can send me an email to [myfirstname].[mylastname]@sentry.io or on Discord. |
@chargome Discord would be nice actually. Can I get your ID? |
@DawnMD https://discord.com/invite/sentry my id is chargome_ |
DM'd you with the issue link from sentry! |
Follow up: this was due to a change in the trpc middleware in v11 – the fix will be released soon. |
A PR closing this issue has just been released 🚀This issue was referenced by PR #13831, which was included in the 8.33.0 release. |
The PR associated with this issue (#13831) may have introduced type errors for tRPC v10. When upgrading Sentry from v8.32.0 to v8.33.0, I get this TypeScript error when initializing the tRPC middleware: It looks like this may be the culprit, causing a double wrapped promise for tRPC v10.
|
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.30.0
Framework Version
Next 14.2.11
Link to Sentry event
No response
Reproduction Example/SDK Setup
I have added this in
tprc.ts
fileAlso
sentry.init
is as followsSteps to Reproduce
I can only see the error that is thrown from trpc procedure with
throw new Error(.....)
but the inputs are not passed to sentry!Expected Result
I expect to see the input passed on to the mutation procedure!
Actual Result
The text was updated successfully, but these errors were encountered: