Skip to content

Commit

Permalink
Update session.py
Browse files Browse the repository at this point in the history
Signed-off-by: pem70 <[email protected]>
  • Loading branch information
pem70 committed Jul 12, 2024
1 parent f3d10b5 commit 50839b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/zowe/core_for_zowe_sdk/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 50839b3

Please sign in to comment.