Skip to content
WebError Error reporting and interactive debugger
Python JavaScript CSS HTML
Find file
Latest commit 76f06e0 @bertjwregeer bertjwregeer Exclude some files
Failed to load latest commit information.
tests Fix FileReporter to expect a tuple to be returned from Formatter.form…
weberror Fix CSRF validation when token is unicode
.gitignore Small updates including new readme
.hgtags Added tag v0.10.3 for changeset c0eda5565193
CHANGELOG
LICENSE Updated license file to reflect licensing of included code, css, and …
MANIFEST.in Exclude some files
README.rst Small updates including new readme
setup.cfg Small updates including new readme
setup.py Prep for 0.12 release

README.rst

Introduction

WebError provides WSGI middleware for the debugging and handling of errors inside of WSGI applications.

Usage

There are two primary WSGI middleware components:

weberror.errormiddleware.make_error_middleware

This middleware should be used for production deployed applications and is used to track extra information regarding errors that occur. These error entries can additionally be emailed to a given email address using the error_email option. Example usage:

from weberror.evalexception import make_eval_exception
app = make_eval_exception(app, global_conf)

weberror.evalexception.make_eval_exception

This middleware is used to help debug errors in wsgi applications during development and should not be used in production. Example usage:

from weberror.evalexception import make_eval_exception
app = make_eval_exception(app, global_conf)
Something went wrong with that request. Please try again.