Fixed traceback formatting

This commit is contained in:
Semyon Maryasin 2016-03-24 00:37:12 +03:00
parent f104a0ef20
commit 03a944d668

View File

@ -142,7 +142,7 @@ class Worker(object):
exc_type, exc_val, exc_tb = sys.exc_info()
self.reloader.add_extra_file(exc_val.filename)
tb_string = traceback.format_exc(exc_tb)
tb_string = traceback.format_tb(exc_tb)
self.wsgi = util.make_fail_app(tb_string)
finally:
del exc_tb