etwist/server.py
branchstable
changeset 7815 2a164a9cf81c
parent 7764 c709f6c457ff
child 7879 9aae456abab5
--- a/etwist/server.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/etwist/server.py	Wed Sep 21 17:38:00 2011 +0200
@@ -308,7 +308,7 @@
             # so we deferred that part to the cubicweb thread
             request.process_multipart()
             return self._render_request(request)
-        except:
+        except Exception:
             errorstream = StringIO()
             traceback.print_exc(file=errorstream)
             return HTTPResponse(stream='<pre>%s</pre>' % errorstream.getvalue(),