Skip to main content

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)

WebError Changelog

0.13.1 (09/04/2016)

0.13 (15/03/2016)

0.12 (08/02/2016)

0.11 (07/21/2015)

  • Remove XSS issues by requiring a CSRF token for relay commands. Patch by Jordan Milne.

0.10.3 (11/9/2010)

  • Don’t require simplejson on Python 2.6

0.10.2 (2/12/2010)

  • Fix bug when displaying UTF-8 type errors.

  • Fix bug when emailing data with UTF-8.

0.10.1 (12/29/2008)

  • Fix view source when __file__ is .pyo or $py.class.

0.10 (12/18/2008)

  • Fix indentation of code lines in the traceback view.

  • Enable syntax highlighting in view source.

  • Fix a case where the response could become unicode; fix the docstring patching when using python -O

0.9.1 (10/28/2008)

  • Python 2.6 compatibility

  • Making main page links more accessible to browsers with no JS on per Pylons Trac ticket #489.

0.9 (07/08/2008)

  • Switched to using Pygments for highlighting.

  • Added better handling of exceptions that don’t cleanly convert to str().

  • Added dependency library listings for XML output.

0.8 (06/12/2008)

  • Added fairly basic pdbcapture system.

  • Fixed errors in unicode handling and exception displaying.

  • Updated JS to use jQuery where applicable. Updated jQuery lib and added jQuery hotkeys plugin.

  • Refactored to a flatter layout.

0.8a (02/27/2008)

  • Fixed error in email due to restructuring of project.

  • Added xml formattor output.

  • Added try/except in case an objects repr throws an exception.

Metadata

Release files for WebError 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WebError 0.13.1
File Size Uploaded
WebError-0.13.1.tar.gz 85.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for WebError 0.13.1
File Interpreter ABI Platform
WebError-0.13.1-py2-none-any.whl Python 2 none any Details

Total release size: 176.8 kB

Release files / WebError-0.13.1.tar.gz

Download URL WebError-0.13.1.tar.gz
Size 85.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c19f8bd57de2f1eea1b18a44f1ba1ad27421097c9ecfa0ae754fa42c9cdd9864
BLAKE2b-256 checksum
How to use checksums
070a09ca5eb0fab5c0d17b380026babe81c96ecebb13f2b06c3203432dd7be72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / WebError-0.13.1-py2-none-any.whl

Download URL WebError-0.13.1-py2-none-any.whl
Size 90.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
20c0533041deda47291314ddb2a64ed580cfc453ea52d3a33bbce12e4d95508a
BLAKE2b-256 checksum
How to use checksums
43ce08451e8f3fbbc2b5ff4909aa0b6fd13422bcfd9a64f26f117fd0ebcd032e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page