uranusjr commented on code in PR #33718:
URL: https://github.com/apache/airflow/pull/33718#discussion_r1308452930
##########
airflow/models/baseoperator.py:
##########
@@ -1600,7 +1601,10 @@ def resume_execution(self, next_method: str,
next_kwargs: dict[str, Any] | None,
traceback = next_kwargs.get("traceback")
if traceback is not None:
self.log.error("Trigger failed:\n%s", "\n".join(traceback))
- raise TaskDeferralError(next_kwargs.get("error", "Unknown"))
+ if (error := next_kwargs.get("error", "Unknown")) == "Trigger
timeout":
Review Comment:
I wonder if this can be made a bit more robust…
##########
airflow/models/baseoperator.py:
##########
@@ -1600,7 +1601,10 @@ def resume_execution(self, next_method: str,
next_kwargs: dict[str, Any] | None,
traceback = next_kwargs.get("traceback")
if traceback is not None:
self.log.error("Trigger failed:\n%s", "\n".join(traceback))
- raise TaskDeferralError(next_kwargs.get("error", "Unknown"))
+ if (error := next_kwargs.get("error", "Unknown")) == "Trigger
timeout":
Review Comment:
I wonder if this can be made a bit more robust…
--
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]