Revision 7260cfbe lib/daemon.py
b/lib/daemon.py | ||
---|---|---|
105 | 105 |
raise |
106 | 106 |
ip, port = address |
107 | 107 |
self.handle_datagram(payload, ip, port) |
108 |
except: |
|
108 |
except: # pylint: disable-msg=W0702
|
|
109 | 109 |
# we need to catch any exception here, log it, but proceed, because even |
110 | 110 |
# if we failed handling a single request, we still want to continue. |
111 | 111 |
logging.error("Unexpected exception", exc_info=True) |
... | ... | |
139 | 139 |
else: |
140 | 140 |
raise |
141 | 141 |
self._out_queue.pop(0) |
142 |
except: |
|
142 |
except: # pylint: disable-msg=W0702
|
|
143 | 143 |
# we need to catch any exception here, log it, but proceed, because even |
144 | 144 |
# if we failed sending a single datagram we still want to continue. |
145 | 145 |
logging.error("Unexpected exception", exc_info=True) |
Also available in: Unified diff