Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for exception groups #1812

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Add support for exception groups #1812

wants to merge 2 commits into from

Conversation

cleptric
Copy link
Member

@cleptric cleptric commented Mar 20, 2025

This adds support for ExceptionGroups to the SDK, which are rendered in Sentry like

image

Usage is something like

$e = new Exception('Oh no!');
throw new Exception(
    message:'Oh nooo!',
    previous: $e,
);

We already support previous exceptions, but this change results in a nicer UI in Sentry.

  • Add tests
  • Figure out why the issue title is now set to the child exception message

@cleptric cleptric self-assigned this Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant