author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 20 Oct 2010 15:40:03 +0200 | |
changeset 6563 | 33343d6eae0a |
parent 6561 | 2b1679aa5cc1 |
child 6564 | ff9f7c566464 |
--- a/view.py Wed Oct 20 14:50:58 2010 +0200 +++ b/view.py Wed Oct 20 15:40:03 2010 +0200 @@ -170,7 +170,11 @@ else: view_func = self.call stream = self.set_stream(w) - view_func(**context) + try: + view_func(**context) + except: + self.debug('view call %s failed (context=%s)', view_func, context) + raise # return stream content if we have created it if stream is not None: return self._stream.getvalue()