print_exception(t, v, tb, limit=None, file=None, as_html=False, with_filenames=True)
Print exception up to limit
stack trace entries from tb
to file
.
Similar to traceback.print_exception
, but adds supplemental
information to the traceback and accepts two options, as_html
and with_filenames
.