getsentry / getsentry/sentry-react-native
Implement exception groups (AggregateError)
- Langage dominant
- TypeScript
- Étoiles
- 1.8k
- Forks
- 366
- Merge moyen
- 1 j 6 h
- PR mergées (30 j)
- 94
Description
### Description
React Native SDK currently supports linked exceptions using [`cause`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause) but doesn't support [AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError).
```[tasklist]
### Blocked by
- [ ] https://github.com/getsentry/sentry/issues/59679#issuecomment-1920193704
```
### Related information
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError
- https://github.com/getsentry/rfcs/blob/main/text/0079-exception-groups.md#example-event
- https://github.com/getsentry/sentry-javascript/pull/8463
### Notes
- Implementing this might likely change grouping so it should be done in a major version.
### Works
```json
{
"message": "Third",
"cause": {
"message": "Second",
"cause": {
"message": "First",
}
}
}
```
### Not implemented at the moment
```json
{
"message": "Third",
"errors": [
{
"message": "First",
},
{
"message": "Second",
},
]
}
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier d’implémentation, test ou point d’entrée n’est nommé. Commencez par lire le RFC exception-groups lié, les références à AggregateError et la pull request associée de sentry-javascript, tout en vérifiant le ticket Sentry bloquant. Le travail est terminé lorsque les événements React Native représentent AggregateError's errors array conformément à l’exemple documenté et que les implications pour le regroupement sont prises en compte.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react-native, typescript
- Domaine
- mobile, observability
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 30/100