Blame SOURCES/bz1796654-fence_vmware_soap-log-exception-message-for-SSLError.patch

677d46
From 39e96371ab9ab1318db004c0ddbb1049d1c0f474 Mon Sep 17 00:00:00 2001
677d46
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
677d46
Date: Thu, 11 Jun 2020 10:25:34 +0200
677d46
Subject: [PATCH] fence_vmware_soap: log exception message for SSLError
677d46
 exception
677d46
677d46
---
677d46
 agents/vmware_soap/fence_vmware_soap.py | 2 +-
677d46
 1 file changed, 1 insertion(+), 1 deletion(-)
677d46
677d46
diff --git a/agents/vmware_soap/fence_vmware_soap.py b/agents/vmware_soap/fence_vmware_soap.py
677d46
index 53e8d8f4..f2ab68b0 100644
677d46
--- a/agents/vmware_soap/fence_vmware_soap.py
677d46
+++ b/agents/vmware_soap/fence_vmware_soap.py
677d46
@@ -67,7 +67,7 @@ def soap_login(options):
677d46
 
677d46
 		conn.service.Login(mo_SessionManager, options["--username"], options["--password"])
677d46
 	except requests.exceptions.SSLError as ex:
677d46
-		fail_usage("Server side certificate verification failed")
677d46
+		fail_usage("Server side certificate verification failed: %s" % ex)
677d46
 	except Exception:
677d46
 		fail(EC_LOGIN_DENIED)
677d46