Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yutongzhang-microsoft committed Dec 13, 2024
1 parent f4c9b81 commit d4bb54b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_access_token():
while az_login_attempts < MAX_GET_TOKEN_RETRY_TIMES:
try:
result = os.popen(az_login_cmd)
print(result)
print(result.read())
break
except Exception as exception:
az_login_attempts += 1
Expand All @@ -47,6 +47,7 @@ def get_access_token():
try:
result = os.popen(get_token_cmd)
access_token = result.read()
print(access_token)
if not access_token:
raise Exception("Parse token from stdout failed, accessToken is None.")

Expand Down

0 comments on commit d4bb54b

Please sign in to comment.