diff options
| author | Scott Gasch <[email protected]> | 2021-09-25 07:18:30 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-09-25 07:18:30 -0700 |
| commit | d2730e42f1160d45ab6c7780987b16ae83c616f6 (patch) | |
| tree | 1c33ffbab6c641fd27b5ee32f999ce3f2c732c64 /dateparse/dateparse_utils.py | |
| parent | e0d685fdfd930e72353e00fe3b750d4ebfbf5111 (diff) | |
Add some classes that use persistent to cache data about the weather
in Bellevue, WA.
Diffstat (limited to 'dateparse/dateparse_utils.py')
| -rwxr-xr-x | dateparse/dateparse_utils.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dateparse/dateparse_utils.py b/dateparse/dateparse_utils.py index f354ad0..026a513 100755 --- a/dateparse/dateparse_utils.py +++ b/dateparse/dateparse_utils.py @@ -50,7 +50,6 @@ def debug_parse(enter_or_exit_f: Callable[[Any, Any], None]): class ParseException(Exception): """An exception thrown during parsing because of unrecognized input.""" def __init__(self, message: str) -> None: - logger.error(message) self.message = message @@ -59,7 +58,6 @@ class RaisingErrorListener(antlr4.DiagnosticErrorListener): def syntaxError( self, recognizer, offendingSymbol, line, column, msg, e ): - logger.error(msg) raise ParseException(msg) def reportAmbiguity( |
