abhishekbhakat commented on PR #54775:
URL: https://github.com/apache/airflow/pull/54775#issuecomment-3239011949
sample traceback this raises:
```py
Broken DAG:
[/Users/abhishekbhakat/Desktop/my_airflow/AIRFLOW_HOME/dags/dag_that_crash_scheduler_2.py]
Traceback (most recent call last):
File "/Users/abhishekbhakat/Desktop/my_airflow/airflow/utils/timezone.py",
line 101, in convert_to_utc
if not is_localized(value):
^^^^^^^^^^^^^^^^^^^
File "/Users/abhishekbhakat/Desktop/my_airflow/airflow/utils/timezone.py",
line 51, in is_localized
return value.utcoffset() is not None
^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'utcoffset'
```
```py
Broken DAG:
[/Users/abhishekbhakat/Desktop/my_airflow/AIRFLOW_HOME/dags/dag_using_dry_render_bad.py]
Traceback (most recent call last):
File
"/Users/abhishekbhakat/Desktop/my_airflow/.venv/lib/python3.11/site-packages/pendulum/parsing/__init__.py",
line 78, in parse
return _normalize(_parse(text, **_options), **_options)
^^^^^^^^^^^^^^^^^^^^^^^^
File
"/Users/abhishekbhakat/Desktop/my_airflow/.venv/lib/python3.11/site-packages/pendulum/parsing/__init__.py",
line 125, in _parse
raise ParserError(f"Unable to parse string [{text}]")
pendulum.parsing.exceptions.ParserError: Unable to parse string [not-a-date]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]