Elasticsearch debug status

Generally we test the error first.