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


##########
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:
   Actually - it will be fine if we change tile and make it a fix to that one - 
that also fixes Pt102 - tha will be actually better.



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