paho.mqtt.python icon indicating copy to clipboard operation
paho.mqtt.python copied to clipboard

Upgrade ConnectionError to OSError

Open enkiusz opened this issue 3 years ago • 0 comments

Change ConnectionError to more generic OSError. This allows client.py to catch more failures (such as socket timeouts) and gracefully reconnect in these cases.

Also some minor cleanups in exception handling.

enkiusz avatar Aug 04 '22 16:08 enkiusz