Package wsgitools :: Module middlewares :: Class TracebackMiddleware
[hide private]
[frames] | no frames]

Class TracebackMiddleware

source code


In case the application throws an exception this middleware will show an html-formatted traceback using cgitb.

Instance Methods [hide private]
 
__init__(self, app)
app is the wsgi application to proxy.
source code
 
__call__(self, environ, start_response)
wsgi interface
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, app)
(Constructor)

source code 

app is the wsgi application to proxy.

Overrides: object.__init__

__call__(self, environ, start_response)
(Call operator)

source code 

wsgi interface

Parameters:
  • environ ({str: str})