-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix redacting secrets in context exceptions. (#17618)
* Fix redacting secrets in context exceptions. Secret masking did not work in implicit and explicit context exceptions (see https://www.python.org/dev/peps/pep-3134/) When there was a `try/except/raise` sequence, or `raise ... from` exception - the original exceptions were not redacted. Related: #17604
- Loading branch information
Showing
2 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters