You can clone with
HTTPS or Subversion.
It'd be interesting to pull that in. It catches ElasticSearch errors and throws up a "search unavailable" page instead of getting all "oh noes! i'm dying!"
Or alternatively (and so I don't lose the commit hash), there was a view decorator that did the same:
A view decorator seems more useful in general. Tweaking this bug to do that instead.
I must have cleaned up the commit that was hidden in. I'd be happy to rewrite it though and take care of this issue.
This is confusing. The title talks about a view decorator--we have that already. But the Zamboni link is about a middleware. elasticutils doesn't have that, yet. That could be handy to have. If you had something like that, then you wouldn't need to toss the decorator everywhere.
After I post this comment, I'll fix the title.
Added ES error middleware for Django (issue #47)
I think this is done. Closing it out!