While investigating compute-tests failures, we faced poor HTTP 431 response from CloudStack exceptions which do not expose the error field. This PR makes overrides the __str__ method so that we expose the error field so we will see it in CI.
Travis is not working anymore, but I run tox locally which includes tests and linters, and they work fine. I only had to comment out 27 in the tox file as there is one place which ruins Python 2 support.
While investigating compute-tests failures, we faced poor
HTTP 431 response from CloudStack
exceptions which do not expose theerror
field. This PR makes overrides the__str__
method so that we expose the error field so we will see it in CI.Travis is not working anymore, but I run
tox
locally which includes tests and linters, and they work fine. I only had to comment out27
in thetox
file as there is one place which ruins Python 2 support.