e1e7e648d4
[READY] Catch and log all server exceptions A lot of different errors may occur when sending a request to ycmd and receiving its response: - [any exception from the requests module](http://docs.python-requests.org/en/master/_modules/requests/exceptions/); - exceptions from ycmd: `ServerError` and `UnknownExtraConf`; - `RuntimeError` exception from invalid HMAC; - and possibly others. Thanks to PR #2430, we can now catch and log these exceptions. I am marking this PR as WIP because I'd like to add tests but I am not sure on how to implement them. Should we use actual code for these tests or mock the response from the ycmd server? Fixes #2216. Fixes #2272. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2453) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
ycm | ||
test_requirements.txt |