From 4e6e7f3c643ac306e1464c60d26a05bb28b74de4 Mon Sep 17 00:00:00 2001 From: pem70 Date: Wed, 3 Jul 2024 15:09:51 -0400 Subject: [PATCH] Update session.py Signed-off-by: pem70 --- src/core/zowe/core_for_zowe_sdk/session.py | 5 +++-- 1 file changed, 3 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 fa2861bc..83efab4a 100644 --- a/src/core/zowe/core_for_zowe_sdk/session.py +++ b/src/core/zowe/core_for_zowe_sdk/session.py @@ -65,8 +65,9 @@ def __init__(self, props: dict) -> None: self.session.tokenValue = props.get("tokenValue") self.session.type = session_constants.AUTH_TYPE_BEARER else: - self.__logger.error("Authentication method not supplied") - raise Exception("An authentication method must be supplied") + self.session.type = session_constants.AUTH_TYPE_NONE + self.__logger.info("Authentication method not supplied") + # raise Exception("An authentication method must be supplied") # set additional parameters self.session.basePath = props.get("basePath")