From 0843134da7265c26f2440471fd5e358a638da81a Mon Sep 17 00:00:00 2001 From: Cliff Hill Date: Wed, 30 Oct 2024 09:12:25 -0400 Subject: [PATCH] Black. Signed-off-by: Cliff Hill --- notifications_utils/logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications_utils/logging.py b/notifications_utils/logging.py index 68971fe71..4c61c69ee 100644 --- a/notifications_utils/logging.py +++ b/notifications_utils/logging.py @@ -20,6 +20,7 @@ logger = logging.getLogger(__name__) _phone_regex = re.compile("(?:\\+ *)?\\d[\\d\\- ]{7,}\\d") + def _scrub(msg: Any) -> Any: # Sometimes just an exception object is passed in for the message, skip those. if not isinstance(msg, str):