add option to traceback.format_exception_only to recurse into exception groups
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Description
opened
traceback.format_exception_only skips the backtrace and prints only the exception message. For exception groups it would be good to have an option to print the nested exceptions, recursively (just their types and message, no backtrace).
This is motivated by #104150.
Linked PRs
Metadata
Metadata
Assignees
No one assigned
Fields
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests