vincbeck commented on code in PR #30756:
URL: https://github.com/apache/airflow/pull/30756#discussion_r1173844570


##########
airflow/providers/amazon/aws/hooks/logs.py:
##########
@@ -96,7 +104,15 @@ def get_log_events(
 
             yield from events
 
-            if next_token != response["nextForwardToken"]:
+            if "nextForwardToken" not in response:
+                num_consecutive_empty_response += 1

Review Comment:
   Ohhhhhh! Nice catch! :D I'll update the PR accordingly :) Thank you!



-- 
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]

Reply via email to