Commit fa6e272d authored by Denis Bilenko's avatar Denis Bilenko

http: do not lose a traceback

parent 53337d6b
...@@ -116,7 +116,7 @@ class HTTPServer(object): ...@@ -116,7 +116,7 @@ class HTTPServer(object):
try: try:
sys.stderr.write('Failed to handle request: %s\n\n' % (request, )) sys.stderr.write('Failed to handle request: %s\n\n' % (request, ))
except: except:
pass traceback.print_exc()
if request: if request:
self.reply_error(request) self.reply_error(request)
......
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