Skip to content

Commit

Permalink
Fixed traceback formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSoft committed Mar 23, 2016
1 parent f104a0e commit 03a944d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn/workers/base.py
Expand Up @@ -142,7 +142,7 @@ def load_wsgi(self):
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
Expand Down

0 comments on commit 03a944d

Please sign in to comment.