Commit ee1b2fc9 authored by Denis Bilenko's avatar Denis Bilenko

do not lose tracebacks

parent df007705
......@@ -128,7 +128,7 @@ class WSGIHandler(object):
try:
sys.stderr.write('Failed to handle request:\n request = %s\n application = %s\n\n' % (req, server.application))
except:
pass
traceback.print_exc()
server.reply_error(self.request)
self = None
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment