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 3, 2024
1 parent 9cf4615 commit 4e6e7f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/zowe/core_for_zowe_sdk/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 4e6e7f3

Please sign in to comment.