Skip to content

Commit

Permalink
Issue #98: Pass on all exceptions in heartbeat thread.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalter1-quest committed Nov 27, 2018
1 parent da7e519 commit e5777ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Arlo.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ def Heartbeat(self, stop_event):
self.Ping(basestation)
except queue.Empty:
pass
except Exception as e:
pass

if basestation_id not in self.event_streams or not self.event_streams[basestation_id].connected:
self.event_streams[basestation_id] = EventStream(QueueEvents, Heartbeat, args=(self, ))
Expand Down

0 comments on commit e5777ca

Please sign in to comment.