Be less annoying.
authorScott Gasch <[email protected]>
Sun, 11 Dec 2022 20:04:28 +0000 (12:04 -0800)
committerScott Gasch <[email protected]>
Sun, 11 Dec 2022 20:04:28 +0000 (12:04 -0800)
src/pyutils/string_utils.py

index ae75ed07ed2a9d726818f42b1ab87939a1ccac81..1e791eb2e3774d80c5f74d37e1795f13e2fc5742 100644 (file)
@@ -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