Skip to content

Commit

Permalink
feat: ignore empty secrets for logging replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsds committed Apr 10, 2024
1 parent 0952f2f commit 9114307
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/lib/utils/logging/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@


def register_secret(value: str, replace_value: str) -> None:
if value == "":
return

_SECRETS[value] = replace_value


Expand Down

0 comments on commit 9114307

Please sign in to comment.