teamcity check to decide to throw or not was always false
teamcity check to decide to throw or not was always false

(cherry picked from commit 69999247c1b533d9fa71c890dce696ef8a64a492)

elastic/elasticsearch-net,elastic/elasticsearch-net