nir0s/backtrace

Backtrace does not handle nested exceptions

nir0s opened this issue · 0 comments

nir0s commented

In python3, running the following will result in backtrace not identifying a traceback:

try:
    raise Exception
except Exception:
    _, __, tb = sys.exc_info()
    raise Exception(tb)
$ python test.py 2>&1 | backtrace