Bowrna commented on code in PR #38525:
URL: https://github.com/apache/airflow/pull/38525#discussion_r1542371255


##########
airflow/providers/sftp/triggers/sftp.py:
##########
@@ -134,7 +134,7 @@ async def run(self) -> AsyncIterator[TriggerEvent]:
                 # Break loop to avoid infinite retries on terminal failure
                 break
 
-        yield TriggerEvent({"status": "error", "message": exc})
+        yield TriggerEvent({"status": "error", "message": str(exc)})

Review Comment:
   @Taragolis This PR also had to fix the code bugs though it doesn't come 
under PT012 fix directly. Is it ok to commit those code changes in this PR or 
do I have to raise a separate PR with code fix followed by changes closely 
related to PT012



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to