##// END OF EJS Templates
serve: catch and log all Exceptions, not only StandardException...
Mads Kiilerich -
r13443:8fa83d71 stable
parent child Browse files
Show More
@@ -68,7 +68,7 b' class _httprequesthandler(BaseHTTPServer'
68 68 def do_POST(self):
69 69 try:
70 70 self.do_write()
71 except StandardError:
71 except Exception:
72 72 self._start_response("500 Internal Server Error", [])
73 73 self._write("Internal Server Error")
74 74 tb = "".join(traceback.format_exception(*sys.exc_info()))
General Comments 0
You need to be logged in to leave comments. Login now