Package wtf :: Package app :: Package services :: Module crash
[hide private]
[frames] | no frames]

Module crash

source code

This service provides a global dump_request method, which can be called from anywhere, plus it puts a middleware onto the stack, which catches exceptions and dumps them to disk (by calling dump_request itself).

The crash handler can be configured to display a crash page when dumping (if the response hasn't been started already). If configured in debug mode, the middleware shows a page containing the traceback.

Author: André Malo

Classes [hide private]
A non-fatal error occured while writing a dump
Result iterator with crash dumper
Crash middleware
Crash service
Variables [hide private]
  __package__ = ''