Skip to content

Commit

Permalink
Fixes Tribler#7966
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlovsky committed Apr 12, 2024
1 parent d43adb9 commit 2c622e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tribler/core/sentry_reporter/sentry_scrubber.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ def scrub_entity_recursively(self, entity: Union[str, Dict, List, Any], depth=10
return entity

def add_sensitive_pair(self, text, placeholder):
if not (text and text.strip()):
return

if text in self.sensitive_occurrences:
return

Expand Down

0 comments on commit 2c622e4

Please sign in to comment.