vchiapaikeo commented on issue #34228:
URL: https://github.com/apache/airflow/issues/34228#issuecomment-1802058680

   Looks like this is a result of this block 
https://github.com/apache/airflow/commit/672ee7f0e175dd7edb041218850d0cd556d62106#diff-e7f34f73940eb52d92bb991abedc1c963431c5373c12dff739c8fb7d03e93d3aR324-R333
 introduced to find logs if no local or remote logs are found. This is causing 
the webserver to raise like the OP suggests.
   
   <img width="1029" alt="image" 
src="https://github.com/apache/airflow/assets/9200263/4364e1c6-ff9b-4b74-8c41-cf0fb5e8cf0b";>
   
   @dstandish / @jedcunningham , wdyt if we introduced a condition to handle 
EmptyOperator? Or we can even catch a wide exception in the second elif block 
and pass. Do you see a cleaner solution?
   
   <img width="838" alt="image" 
src="https://github.com/apache/airflow/assets/9200263/693b0c5d-17f0-47ec-af5b-29c667169b92";>
   
   <img width="1247" alt="image" 
src="https://github.com/apache/airflow/assets/9200263/d5243ec0-f197-4700-835f-9a60f24f666d";>
   


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