Simon Willison’s Weblog

Subscribe
Atom feed for exceptions

2 items tagged “exceptions”

2008

Super User Conditional Page Exception Reporting. The name is almost as long as the code snippet: this serves Django’s debug page to logged in super-users, falling back to the default 500 template for everyone else.

# 31st July 2008, 9:06 pm / django, python, debugging, exceptions, middleware

django-db-log. Middleware that logs Django exceptions to the database, using a clever scheme based on an MD5 of the traceback text to group duplicate errors in to batches.

# 13th May 2008, 8:07 am / david-cramer, django, exceptions, logging, middleware, djangodblog