Don't log BroadcastServer shutdown socket closing

This commit is contained in:
shortcutme 2018-02-10 00:58:42 +01:00
parent 6fa37c618b
commit 90051972d4
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -57,7 +57,8 @@ class BroadcastServer(object):
try: try:
data, addr = self.sock.recvfrom(8192) data, addr = self.sock.recvfrom(8192)
except Exception as err: except Exception as err:
self.log.error("Listener receive error: %s" % err) if self.running:
self.log.error("Listener receive error: %s" % err)
continue continue
if not self.running: if not self.running: