Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redact error output #36232

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Redact error output #36232

merged 2 commits into from
Aug 3, 2023

Conversation

billwert
Copy link
Contributor

@billwert billwert commented Aug 3, 2023

A bug was reported to me in which I observed that the process output for the CLI process can include a warning and then the access token JSON payload. Azure CLI defaults to printing warnings. The fact that the output is not pure JSON causes us to fail parsing it, and the exception includes the token.

A bug was reported to me in which I observed that the exception message
for the CLI process timing out can include a warning and then the access
token. Azure CLI defaults to printing warnings. The fact that the output
is not pure JSON causes us to fail parsing it, and the exception
includes the token.
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@g2vinay g2vinay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved with a comment.

@billwert billwert merged commit 4b74642 into Azure:main Aug 3, 2023
@billwert billwert deleted the redact-cli-process-output branch March 13, 2024 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants