Pylons/pyramid — Issue #415: Non informative exception
Author: fafhrd91
Created: 2012-01-23 18:34:26+00:00
State: open

here is very simple code that throws exception.
it is not possible to understand from exception what view is the cause of the problem.

```python

def test_view(request):
return

Traceback (most recent call last):
File "/home/fafhrd/dev/ptahproject/eggs/pyramid-1.3a6-py2.7.egg/pyramid/router.py", line 187, in __call__
response = self.handle_request(request)
File "/home/fafhrd/dev/ptahproject/eggs/pyramid-1.3a6-py2.7.egg/pyramid/tweens.py", line 20, in excview_tween
response = handler(request)
File "/home/fafhrd/dev/ptahproject/eggs/pyramid-1.3a6-py2.7.egg/pyramid/router.py", line 164, in handle_request
response = view_callable(context, request)
File "/home/fafhrd/dev/ptahproject/eggs/pyramid-1.3a6-py2.7.egg/pyramid/config/views.py", line 348, in viewresult_to_response
'response object' % (result,))
ValueError: Could not convert view return value "None" into a response object