mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
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':
|
||||
raise chakana.error.CoojaError(response)
|
||||
return response
|
||||
except socket.error:
|
||||
debug(MajorEvent, 'Socket error catched')
|
||||
finally:
|
||||
self._connectionLock.release()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user