Commit 34e2cf13 authored by Jérome Perrin's avatar Jérome Perrin

equeue: log traceback in case of swallowed error

parent 7f4072b6
Pipeline #9434 passed with stage
in 0 seconds
...@@ -182,7 +182,7 @@ class EqueueServer(socketserver.ThreadingUnixStreamServer): ...@@ -182,7 +182,7 @@ class EqueueServer(socketserver.ThreadingUnixStreamServer):
try: try:
request.send(command) request.send(command)
except Exception: except Exception:
self.logger.warning("Couldn't respond to %r", request.fileno()) self.logger.warning("Couldn't respond to %r", request.fileno(), exc_info=True)
self.close_request(request) self.close_request(request)
self._runCommandIfNeeded(command, timestamp) self._runCommandIfNeeded(command, timestamp)
# Well the following function is made for schrodinger's files, # Well the following function is made for schrodinger's files,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment