fix: Fix exception chains - #7552
Conversation
Codecov Results 📊✅ 63249 passed | ❌ 4 failed | ⏭️ 2890 skipped | Total: 66143 | Pass Rate: 95.62% | Execution Time: 177m 54s 📊 Comparison with Base Branch
➕ New Tests (2)View new tests
➖ Removed Tests (1)View removed tests
❌ Failed Tests
|
The huggingface_hub and strawberry tests were still asserting the integration mechanism type at values[0], but with unified exception chain handling, chained exceptions now appear at index 0 with mechanism type "chained". Co-Authored-By: Claude Opus 4.6 <[email protected]>
ericapisani
left a comment
There was a problem hiding this comment.
LGTM overall, just need to update a couple of doc links in the comments 🚀
Port of #4164
See #3913 for an example of an exception chain that is currently not working properly.
Closes https://linear.app/getsentry/issue/PY-1948/better-handling-of-exception-groups