marrow / WebCore

WebCore, the super tiny and blazingly fast modular Python web nanoframework.
MIT License
94 stars 10 forks source link

TypeError: 'NoneType' is not iterable when an exception should be displayed #133

Closed agronholm closed 11 years ago

agronholm commented 11 years ago

Sometimes this is seen in WebError instead of the actual exception. This happens because the database extension (TransactionalMiddlewareInterface actually) eats the exception and returns None, which a WSGI application should never, ever do.