]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/commit
When creating a ssl connection an attribute error can be thrown
authorHmvp <hmvp@hmvp.nl>
Tue, 13 Jan 2015 13:16:03 +0000 (14:16 +0100)
committerHmvp <hmvp@hmvp.nl>
Wed, 18 Feb 2015 14:39:10 +0000 (15:39 +0100)
commit60d15b32fbe80e2bfc288c21b161fc3249108d9e
tree6cd4894e6ac4c10d4f20d2390b387ab4ced8d0d7
parent73b85d2427e196d6ad6b4efb432c714bb3dab543
When creating a ssl connection an attribute error can be thrown

This error is not catched and stops loop_forever etc., that is very
unexpected. So we catch the error and raise a error that is actually
catched (and better represents the situation)

See also: http://bugs.python.org/issue13721

Change-Id: I495c08ec079290a97caeaf0e7f88116041d8cec6
Signed-off-by: Hmvp <hmvp@hmvp.nl>
src/paho/mqtt/client.py