Commit e908242e authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed error when accepting new connection (log a warning)

parent f0053c51
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -60,7 +60,8 @@ class RpcServer(object):
                if err.errno in self.NONBLOCKING_ERRORS:
                    return
                else:
                    raise #FIXME
                    self.logger.warn('Error while accepting client: %s', err)
                    return

            self.logger.info('New incoming connection from %s:%s', *address)
            conn = self._wrap(sock)