https://github.com/pylons/weberror
WebError Error reporting and interactive debugger
https://github.com/pylons/weberror
Last synced: 9 months ago
JSON representation
WebError Error reporting and interactive debugger
- Host: GitHub
- URL: https://github.com/pylons/weberror
- Owner: Pylons
- License: other
- Created: 2011-03-16T19:57:51.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T01:11:35.000Z (almost 6 years ago)
- Last Synced: 2024-04-17T14:25:58.387Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 270 KB
- Stars: 15
- Watchers: 14
- Forks: 18
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
.. -*-rst-*-
NOTICE
======
This software is not actively maintained. Simple bugfixes and other patches
will be accepted, and released.
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.errormiddleware import make_error_middleware
app = make_error_middleware(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)