-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- 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
Reproduction Example/SDK Setup
<!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.