#8 'RetryError' object has no attribute 'message' when handling ResponseError
Closed: Fixed by jskladan. Opened by frantisekz.

I'll look into this and add more info later.

For now, whenever there is an issue with connecting to resultsdb, eg:

requests.exceptions.RetryError: HTTPConnectionPool(host='resultsdb-dev01.qa.fedoraproject.org', port=80): Max retries exceeded with url: /resultsdb_api/api/v2.0/testcases/dist.python-versions.two_three (Caused by ResponseError('too many 503 error responses'))

resultsdb_api apparently fails to handle the error:

File "/usr/lib/python3.7/site-packages/resultsdb_api.py", line 97, in get
    raise ResultsDBapiException('Maximum number of retries exceeded: %s' % e.message, None)
AttributeError: 'RetryError' object has no attribute 'message'

Still happening, ping @jskladan

Fixed in 5a11cfd1b82aaeb914280caf55c3e6d79eb23a1d

Metadata Update from @jskladan:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

@frantisekz Can you please create a new patch release, publish it to Bodhi, and deploy? Thanks a lot.

Metadata