tirkarthi opened a new pull request, #46275:
URL: https://github.com/apache/airflow/pull/46275

   I noticed few times during development when the fastapi server is restarting 
or down with UI open where `error.body` is not defined resulting in below 
stacktrace and UI crashing.
   
   To reproduce : 
   
   1. Run fastapi in dev mode
   2. Open home page
   3. Stop fastapi server and navigate to another page in UI.
   
   Before 
   
   
![image](https://github.com/user-attachments/assets/df30c348-20b6-4b19-83d1-9cc528afaa0c)
   
   After PR
   
   
![image](https://github.com/user-attachments/assets/47902af6-e833-4f35-adc4-59fc4dcb3a0a)
   
   


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