We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f049d commit 5ef2d28Copy full SHA for 5ef2d28
sentry_sdk/utils.py
@@ -869,7 +869,8 @@ def exceptions_from_error(
869
# This would lead to an infinite loop, so we skip the causing exception
870
# in this case. (because it is the same as the base_exception above)
871
if (
872
- isinstance(causing_exception, ExceptionGroup)
+ BaseExceptionGroup is not None
873
+ and isinstance(causing_exception, BaseExceptionGroup)
874
and len(causing_exception.exceptions) == 1
875
and causing_exception.exceptions[0] == exc_value
876
):
0 commit comments