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 / debugging, django, exceptions, middleware, python

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, djangodblog, exceptions, logging, middleware