getsentry / getsentry/sentry-javascript

Unrelated errors are grouped together

Ouverte
#16,409 11 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Core Improvement
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
515

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.