Suppress NoValidConnectionsError from paramiko
New versions of paramiko wrap exceptions from multiple connection attempts for multiple address families into one NoValidConnectionsError exception. It is a subclass of socket.error but with an errno set to None. Just check for that and ignore it to supress log entries on perfectly normal connection failures. Change-Id: If64ab66dcc6db7c1886fb72f36078f7f819d6506changes/02/250102/1
parent
23efca041c
commit
5bcccf7605
Loading…
Reference in New Issue