Skip to main content
DJANGO EXCEPT CATCHER
-------------
django-except-catcher is a simple tool to catch and view exceptions in a production django website.

Exceptions are stored and presented in a list where you can find similar exceptions and look their html representation just like in development django's debug.

It does not require instalation of any daemon in order to work, just a regular django module.

Inspired in django's AdminMailHandler.


INSTALATION
-------------


Install django-except-catcher:

pip install django-except-catcher


Add to urls.py:

url(r'^', include('except_catcher.urls')),

add to settings.py:

INSTALLED_APPS = [
...
'except_catcher',
]

LOGGING = {
...
'handlers': {
'error_catcher': {
'level': 'ERROR',
'class': 'except_catcher.handlers.CatchExceptionHandler',
},
...
'loggers': {
'django.request': {
'handlers': [ 'error_catcher'],
'level': 'ERROR',
'propagate': False,
},
}
}

run migrations:

./manage.py migrate except_catcher

Now go to url:

http://localhost/errors/

You can purposely throw an exception in the url:

http://localhost/test-exception/

Only the super user can access these reports.


VERSIONS:
-------------
-- v'0.0.1' - initial package


Metadata

Release files for django-except-catcher 0.0.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 django-except-catcher 0.0.1
File Size Uploaded Provenance Actions
django-except-catcher-0.0.1.tar.gz 5.4 kB Without provenance Details for django-except-catcher-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-except-catcher 0.0.1
File Interpreter ABI Platform Actions
django_except_catcher-0.0.1-py3-none-any.whl Python 3 none any Details for django_except_catcher-0.0.1-py3-none-any.whl

Total release size: 12.9 kB

Release files / django-except-catcher-0.0.1.tar.gz

Download URL django-except-catcher-0.0.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5d22e18495c8a3e67caadf7a99c579674009ed131b1850fbac066a6c9f44b934
BLAKE2b-256 checksum
How to use checksums
6cd41b33e0fc1b8d2fddc1e101fdd93a80f84474b498c5937367b6c2d58de011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.3

Release files / django_except_catcher-0.0.1-py3-none-any.whl

Download URL django_except_catcher-0.0.1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b401091166d3969eb1954edd6d5d35c90485324569486edb184ff31b681d82d
BLAKE2b-256 checksum
How to use checksums
b29ae5e16f0cad6084dd35b5c8be34d7e73fa21bb4200dc9f4ea34a55dc7d36e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.3

Security for django-except-catcher 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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