starlette icon indicating copy to clipboard operation
starlette copied to clipboard

avoid collapsing exception groups from user code

Open graingert opened this issue 1 year ago • 1 comments

Summary

If user code is raising ExceptionGroups eg from TaskGroups or otherwise, they should get ExceptionGroups raised. There could also be important notes attached.

Checklist

  • [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [x] I've updated the documentation accordingly.

No docs changes needed, probably should have made an issue for this.

graingert avatar Dec 29 '24 14:12 graingert

I have encountered this issue with starlette. I would love to have this PR merged tbh :) Amazing work

hasB4K avatar Jan 22 '25 15:01 hasB4K