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

Handle an Exception without a traceback. #2248

Merged
merged 1 commit into from Oct 6, 2021

Commits on Oct 6, 2021

  1. handle an exception without a traceback

    When an exception does not have a traceback there are no frames
    to filter, but there's an explicit check for the last frame which
    will fail if there are no frames.
    
    An example exception with this problem can be seen when using
    concurrent.futures.ProcessPoolExecutor.  When it reconstitutes a
    remote exception it has serialized the traceback to a string it
    includes as the error message instead of an object that can be
    inspected.
    kjurka authored and davidism committed Oct 6, 2021
    Copy the full SHA
    a026095 View commit details
    Browse the repository at this point in the history