Closed cnstlungu closed 6 years ago
Changed traceback.format_exc() call (removed the exc parameter) as the first argument of format_exc is not the exception to print, it's a limit on how many lines of trace back to print. Current code fails in my setup (python 3.6.6)
https://docs.python.org/3.6/library/traceback.html
traceback.format_exc(limit=None, chain=True) This is like print_exc(limit) but returns a string instead of printing to a file.
traceback.format_exc(limit=None, chain=True)
This is like print_exc(limit) but returns a string instead of printing to a file.
LGTM thank you
Changed traceback.format_exc() call (removed the exc parameter) as the first argument of format_exc is not the exception to print, it's a limit on how many lines of trace back to print. Current code fails in my setup (python 3.6.6)
https://docs.python.org/3.6/library/traceback.html