WebError provides WSGI middleware for the debugging and handling of errors inside of WSGI applications.
There are two primary WSGI middleware components:
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)
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)