diff --git a/elasticsearch/exceptions.py b/elasticsearch/exceptions.py index 5085c6f6..abac9c27 100644 --- a/elasticsearch/exceptions.py +++ b/elasticsearch/exceptions.py @@ -45,7 +45,10 @@ class TransportError(ElasticsearchException): @property def info(self): - """ Dict of returned error info from ES, where available. """ + """ + Dict of returned error info from ES, where available, underlying + exception when not. + """ return self.args[2] def __str__(self):