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

![django-except-catcher Logo](/except_catcher/static/except_catcher/logo.png)

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:

```shell
pip install django-except-catcher
```

Add to urls.py:

```python
url(r'^', include('except_catcher.urls')),
```
add to settings.py:

```python
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:

```shell
./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.2' - added some styling, better navigation, docs
* v'0.0.1' - initial package


Metadata

Release files for django-except-catcher 0.0.2

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.2
File Size Uploaded Provenance Actions
django-except-catcher-0.0.2.tar.gz 30.8 kB Without provenance Details for django-except-catcher-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 63.4 kB

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

Download URL django-except-catcher-0.0.2.tar.gz
Size 30.8 kB
Tags Source
SHA-256 checksum
How to use checksums
83e5b8afa1a7c0b44dd640f3c2f58faa3f2d7febbe5497ff5386729ada51b2b3
BLAKE2b-256 checksum
How to use checksums
3d84b5a8276ee6c4c7f44ca61bec95116338ea6e19ac8c188779a29affd5cbf7
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.2-py3-none-any.whl

Download URL django_except_catcher-0.0.2-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06b5b3fb75d9c7682ede7d9742e4af5dede7a4d0f47c45cdcf7bb932373b900c
BLAKE2b-256 checksum
How to use checksums
729a61cfd550079cc1a201d20a30ca37cb1f91bdff0a634996f982361ee92c9d
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.2

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