dwavesystems / dwave-cloud-client

A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.
https://docs.ocean.dwavesys.com/projects/cloud-client/en/stable/
Apache License 2.0
59 stars 40 forks source link

If poll fails without http error TypeError is raised #542

Open dbusto opened 1 year ago

dbusto commented 1 year ago

If there is a problem connecting to the service that is not an http error (eg DNS lookup fails) _do_poll_problems raises a TypeError with the message "'<=' not supported between instances of 'int' and 'NoneType'", which is confusing and obfuscates the root issue.