es_required_or_50x should catch ElasticHttpError, too