getsentry / getsentry/sentry-react-native

Implement exception groups (AggregateError)

Aperta
#3,579 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Blocked Errors Feature React-Native
Lingua principale
TypeScript
Stelle
1.8k
Fork
366
Merge medio
1g 5h
PR unite (30g)
93

Descrizione

### 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",
},
]
}
```

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.