getsentry / getsentry/sentry-javascript

Unrelated errors are grouped together

Aperta
#16,409 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Core Improvement
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

### Is there an existing issue for this?

- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [x] I have reviewed the documentation https://docs.sentry.io/
- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

### How do you use Sentry?

Sentry Saas (sentry.io)

### Which SDK are you using?

@sentry/nextjs

### SDK Version

9.x

### Framework Version

Next 15.3.2, TRPC 11.1

### Link to Sentry event

_No response_

### Reproduction Example/SDK Setup

I upgraded from version 7 to version 9, and after the upgrade a lot of my errors are grouped together even though they are not related except they all are "TRPCError"s.

### Steps to Reproduce

Triggering an error in different trpc procedures.

### Expected Result

Triggering an error from different procedures should result in a separate issue per error.

### Actual Result

Errors ends up in the same issue on Sentry with the title and message from the initial error shown on top.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.