diff --git a/stapled/core/stapleadder.py b/stapled/core/stapleadder.py index bece607..44ba004 100644 --- a/stapled/core/stapleadder.py +++ b/stapled/core/stapleadder.py @@ -133,7 +133,7 @@ def _open_socket(self, path): LOG.debug("Opened prompt with result: %s", result) self.socks[path] = sock return sock - except (BrokenPipeError, OSError, IOError) as exc: + except (OSError, IOError) as exc: raise stapled.core.exceptions.SocketError( "Could not initialize StapleAdder with socket {}: {}".format( path,