eejbyfeldt opened a new pull request #14513: URL: https://github.com/apache/airflow/pull/14513
We have seen several task failures because of this issue. If the log read is interrupted before any logs are produced then `last_log_time` will not be set and the line `delta = pendulum.now() - last_log_time` will fail with ``` TypeError: unsupported operand type(s) for -: 'DateTime' and 'NoneType' ``` This commit fix this issue by only updating `read_logs_since_sec` if `last_log_time` has been set. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
