mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user