From 50839b36346488d7cd58c54d3d694c1f190cb08f Mon Sep 17 00:00:00 2001 From: pem70 Date: Fri, 12 Jul 2024 15:53:39 -0400 Subject: [PATCH] Update session.py Signed-off-by: pem70 --- src/core/zowe/core_for_zowe_sdk/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/zowe/core_for_zowe_sdk/session.py b/src/core/zowe/core_for_zowe_sdk/session.py index e27b1b89..4c597f70 100644 --- a/src/core/zowe/core_for_zowe_sdk/session.py +++ b/src/core/zowe/core_for_zowe_sdk/session.py @@ -69,8 +69,8 @@ def __init__(self, props: dict) -> None: if props.get("certKeyFile"): self.session.cert = (props.get("certFile"), props.get("certKeyFile")) else: - self.__logger.error("A cert key must be provided") - raise Exception("A cert key must be provided") + self.__logger.error("A certificate key file must be provided when certFile is specified") + raise Exception("A certificate key file must be provided when certFile is specified") self.session.rejectUnauthorized = props.get("rejectUnauthorized") self.session.type = session_constants.AUTH_TYPE_CERT_PEM else: