From e9266a3af23eda8cee1ac0a97471c71e4248671b Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sun, 11 Dec 2022 12:04:28 -0800 Subject: [PATCH] Be less annoying. --- src/pyutils/string_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pyutils/string_utils.py b/src/pyutils/string_utils.py index ae75ed0..1e791eb 100644 --- a/src/pyutils/string_utils.py +++ b/src/pyutils/string_utils.py @@ -1681,8 +1681,7 @@ def to_date(in_str: str) -> Optional[datetime.date]: d.parse(in_str) return d.get_date() except du.ParseException: # type: ignore - msg = f'Unable to parse date {in_str}.' - logger.warning(msg) + pass return None -- 2.46.0