Commit 4b74642
authored
Redact error output (Azure#36232)
* Redact error output
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.
* add test1 parent 3255f7f commit 4b74642
File tree
2 files changed
+24
-2
lines changed- sdk/identity/azure-identity/src
- main/java/com/azure/identity/implementation
- test/java/com/azure/identity/implementation
2 files changed
+24
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
| |||
681 | 683 | | |
682 | 684 | | |
683 | 685 | | |
684 | | - | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
685 | 689 | | |
686 | 690 | | |
687 | 691 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
585 | 603 | | |
586 | 604 | | |
587 | 605 | | |
| |||
0 commit comments