artefactual/archivematica — pull request #80 by mistydemeo (2014-07-24 20:52:22+00:00)
Title: Improve Elasticsearch error handling in try_to_index

* Iterate the correct number of times, instead of half the number of specified times
* If indexing fails at the end, reraise the exception instead of silently swallowing it