This is an automated email from the ASF dual-hosted git repository.

aonishuk pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit 44748d9513a3bd57e620b9087b393e28a54d5445
Author: Srikanth Janardhan <sjanard...@hortonworks.com>
AuthorDate: Mon Jun 11 20:07:30 2018 +0530

    AMBARI-24070. Changed the exception
---
 ambari-agent/src/main/python/ambari_agent/security.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-agent/src/main/python/ambari_agent/security.py 
b/ambari-agent/src/main/python/ambari_agent/security.py
index 99e0dcc..292e2ce 100644
--- a/ambari-agent/src/main/python/ambari_agent/security.py
+++ b/ambari-agent/src/main/python/ambari_agent/security.py
@@ -87,7 +87,7 @@ class VerifiedHTTPSConnection:
         self.establish_connection(conn)
         logger.info('SSL connection established. Two-way SSL authentication '
                     'completed successfully.')
-      except ambari_stomp.exception.ConnectFailedException as err:
+      except ssl.SSLError as err:
         logger.error('Two-way SSL authentication failed. Ensure that '
                      'server and agent certificates were signed by the same CA 
'
                      'and restart the agent. '

-- 
To stop receiving notification emails like this one, please contact
aonis...@apache.org.

Reply via email to