changeset 6563 | 33343d6eae0a |
parent 6458 | e4eb95d86172 |
child 6761 | 84b67ae41a0d |
--- 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()