diff --git a/modules/test/tls/python/src/tls_util.py b/modules/test/tls/python/src/tls_util.py index d92379aab..a60332e2d 100644 --- a/modules/test/tls/python/src/tls_util.py +++ b/modules/test/tls/python/src/tls_util.py @@ -158,6 +158,9 @@ def get_public_certificate(self, except socket.timeout: LOGGER.info('Socket timeout error') return None + except OSError as e: + LOGGER.error(e) + return None return cert_pem