Eason09053360 commented on PR #72468:
URL: https://github.com/apache/airflow/pull/72468#issuecomment-6555618686

   > This one still tracebacks on two of the four states `list_envs` has its 
own reader and its except misses `UnicodeDecodeError` and the `AttributeError` 
from config.get on a non-dict. Neither is an `AirflowCtlException`, so 
`safe_call_command` doesn't catch them either.
   
   Good catch, thanks. `list-envs` now catches non-UTF-8 bytes and a non-object 
file the same way it already caught the other unreadable states and also update 
pr description. Both show up as a `config error` row instead of a traceback, 
and a test covers each one.
   


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