Closed DawnMD closed 2 months ago
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_
@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.
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. https://github.com/getsentry/sentry-javascript/blob/febdfc6ef8c2ae8eddd825163b9a8b175acbe3f7/packages/core/src/trpc.ts#L40
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