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

narrow the except

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