I've written my own middleware class with a process_exception method to
capture the exception, and remedy the underlining condition which caused
the exception. The point is to transparently resubmit the request without
actually returning anything to the client. Basically to retry the entire
req
you could return a HttpResponseRedirect and handle your error on a different
url or write your own error middleware...
for some ideas on error middleware see see:
https://bitbucket.org/ashcrow/django-error-capture-middleware/wiki/Home
regards
Henrik
>reply to message:
>date: 03.08.2012 14:59:19
2 matches
Mail list logo