minor fix: catching socket errors
This commit is contained in:
parent
91b79de654
commit
1b40da2636
|
@ -283,6 +283,8 @@ class Shepherd:
|
||||||
if response.documentElement.tagName == 'error':
|
if response.documentElement.tagName == 'error':
|
||||||
raise chakana.error.CoojaError(response)
|
raise chakana.error.CoojaError(response)
|
||||||
return response
|
return response
|
||||||
|
except socket.error:
|
||||||
|
debug(MajorEvent, 'Socket error catched')
|
||||||
finally:
|
finally:
|
||||||
self._connectionLock.release()
|
self._connectionLock.release()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue