Commit ba49ec6d authored by Martín Ferrari's avatar Martín Ferrari

narrow the except

parent ac094c01
......@@ -257,7 +257,7 @@ class Server(object):
cmdname)
try:
fd, payload = passfd.recvfd(self._rfd, len(cmdname) + 1)
except (IOError, BaseException), e: # FIXME
except (IOError, RuntimeError), e:
self.reply(500, "Error receiving FD: %s" % str(e))
return
......
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