Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-10-30 09:12:25 -04:00
parent dc59937e60
commit 0843134da7

View File

@@ -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):