Skip to content

Commit

Permalink
Removing Mask Check (moving to its own PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillypHenning committed Nov 8, 2022
1 parent ea06f1c commit c32c755
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/plugins/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ def mask_message(message):
"""
if message is None:
return message
if BITOPS_logging_masks is None:
return message

res_str = message

for config_item in BITOPS_logging_masks:
# TODO: use a library here?
res_str = re.sub(rf"{config_item.search}", config_item.replace, str(res_str))
Expand Down

0 comments on commit c32c755

Please sign in to comment.