diff -r 2b1679aa5cc1 -r 33343d6eae0a view.py --- 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()