getsentry / sentry-react-native

Official Sentry SDK for React Native
https://sentry.io
MIT License
1.57k stars 337 forks source link

Implement exception groups (AggregateError) #3579

Open krystofwoldrich opened 8 months ago

krystofwoldrich commented 8 months ago

Description

React Native SDK currently supports linked exceptions using cause but doesn't support AggregateError.

### Blocked by
- [ ] https://github.com/getsentry/sentry/issues/59679#issuecomment-1920193704

Related information

Notes

Works

{
    "message": "Third",
    "cause": {
        "message": "Second",
        "cause": {
            "message": "First",
        }
    }   
}

Not implemented at the moment

{
    "message": "Third",
    "errors": [
        {
            "message": "First",
        },
        {
            "message": "Second",
        },
    ]
}
krystofwoldrich commented 8 months ago