Commit Graph

23 Commits

Author SHA1 Message Date
Nick Lang 206f5e2754 Black (#948) 2019-05-10 09:16:33 -06:00
mazzma12 3c2509d29d Add resource type and resource id in TransportError Traceback (#909) 2019-03-28 14:17:47 -06:00
Akira Yumiyama 3176f46ae8 TypeError: string indices must be integers in TransportError (#833)
* Add tests of TransportError

* Fix to work properly even if the error is not structured on TransportError
2018-10-12 09:42:47 -06:00
Nick Lang 2619d0fae4 TransportError correctly reflects inherited class. Closes #806. (#810) 2018-06-25 11:44:14 -06:00
Honza Král 57ec404ba3 Accurate description of TransportError.info
Fixes #710, thank you, @fbacchella, for the report!
2018-01-12 17:35:07 +01:00
Victor K 57362aa8c7 Fix elasticsearch.exceptions.__all__ (#621) 2017-07-14 16:50:39 +02:00
Honza Král ade841a680 Better exception representation 2015-11-04 19:21:29 +01:00
Honza Král 9b37be87f1 Docs improvements
Mentioning the restriction on sniffing and GETs with no bodies allowed
(Fixes #137)
2014-11-28 17:20:05 +01:00
Honza Král 265d00d5d6 Retry on some HTTP statuses and touching up the retry logic 2014-11-24 17:08:23 +01:00
Honza Král fedcfafe7e Proper SSL implementation, including optional certificate verification 2014-11-11 03:20:16 +01:00
Honza Král ecfeb93a6f Introducing a ConnectionTimeout as a subclass of ConnectionError
This is to enable #128 to work
2014-10-03 18:49:07 +02:00
Honza Král 1292ac2f47 Typo fix, thanks willkg 2014-03-10 16:10:17 +01:00
Honza Král 152e133cc2 Added documentation for exceptions raised by elasticsearch-py
Fixes #58, thanks, willkg, for the report!
2014-03-08 18:50:36 +01:00
Honza Král 6a7d4389cd Always raise TransportError with two params.
Fixes #44, thanks brianz!
2014-02-06 01:15:41 +01:00
Honza Král 4bce8a464c Added more detailed error handling
namely being able to detect conflicts and bad requests
2013-11-14 01:12:55 +01:00
Honza Kral 7243ae6413 Typo in ElasticsearchException
This change is internal so it shouldn't affect existing code
2013-09-28 15:51:24 +02:00
Honza Kral 38ba61d511 Fix memcached tests for py3 2013-08-25 18:01:45 +02:00
Honza Kral cce186780f ConnectionError is special 2013-07-30 16:50:36 +02:00
Honza Kral 0bde2d5317 More info when raising an exception 2013-07-30 14:25:10 +02:00
Honza Kral 0dae1e9df1 Only trigger retry and mark connection as dead on connection errors
Not when we receive an error code from ES.
2013-05-19 18:45:12 +02:00
Honza Kral d5bb5976b8 Expose everything on elasticsearch package itself 2013-05-06 16:15:38 +02:00
Honza Kral 6aad2599d7 Adding JSONSerializer 2013-05-02 23:42:11 +02:00
Honza Kral 71daa6ef14 RequestsHttpConnection class handling the actual http communication 2013-05-01 21:55:44 +02:00