### 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/browser ### SDK Version 9.5.0 ### Framework Version _No response_ ### Link to Sentry event https://sentry-sdks.sentry.io/issues/6415543348/?project=4504689757257728&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&stream_index=0 ### Reproduction Example/SDK Setup ```html <!DOCTYPE html> <html> <head> <script src="INSERT_LOADER_SCRIPT_HERE"></script> </head> <body> <script defer> function main() { throw new AggregateError([new Error("some error")], "Hello"); } main(); </script> </body> </html> ``` ### Steps to Reproduce Run the example with the loader on `9.x`. See that an `AggregateError` does get sentry to Sentry, but there is no linked `Error` with `message` `"some error"`. ### Expected Result An Aggregate Error as per https://github.com/getsentry/rfcs/blob/main/text/0079-exception-groups.md. We should be setting `is_exception_group: true` on the `AggregateError` sent to Sentry. ### Actual Result https://sentry-sdks.sentry.io/issues/6415543348/?project=4504689757257728&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&stream_index=0
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.5.0
Framework Version
No response
Link to Sentry event
https://sentry-sdks.sentry.io/issues/6415543348/?project=4504689757257728&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&stream_index=0
Reproduction Example/SDK Setup
Steps to Reproduce
Run the example with the loader on
9.x.See that an
AggregateErrordoes get sentry to Sentry, but there is no linkedErrorwithmessage"some error".Expected Result
An Aggregate Error as per https://github.com/getsentry/rfcs/blob/main/text/0079-exception-groups.md.
We should be setting
is_exception_group: trueon theAggregateErrorsent to Sentry.Actual Result
https://sentry-sdks.sentry.io/issues/6415543348/?project=4504689757257728&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&sort=date&stream_index=0