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

Exception Groups are not displayed fully #534

Open
Zomatree opened this issue Mar 26, 2023 · 0 comments
Open

Exception Groups are not displayed fully #534

Zomatree opened this issue Mar 26, 2023 · 0 comments

Comments

@Zomatree
Copy link

when using exception groups the sub-exceptions are not printed out when the group is raised.

Reproduction

raise ExceptionGroup("my error group", [Exception("a"), Exception("b")])

Output

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ExceptionGroup: my error group (2 sub-exceptions)

Expected Output

  + Exception Group Traceback (most recent call last):
  |   File "<stdin>", line 1, in <module>
  | ExceptionGroup: my error group (2 sub-exceptions)
  +-+---------------- 1 ----------------
    | Exception: a
    +---------------- 2 ----------------
    | Exception: b
    +------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant