Reindex when an exception occurs