Skip to content

I would like to hook traceback printing to use better_exceptions #10422

Description

@Omnifarious

The better-exceptions package makes very pretty tracebacks with a lot of useful information in them. It would be nice if ipython could be hooked so that it used that package to print out exception tracebacks.

It doesn't look like the set_custom_exc is quite the right thing, partly because it expects that you will want to only handle a small subset of exception types. Also, it has a tb_offset argument that isn't terribly well documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions