ephraimbuddy commented on pull request #18554: URL: https://github.com/apache/airflow/pull/18554#issuecomment-929267581
When a DAG is deleted, trying to view the deleted DAG in the UI raises an exception. This is expected but because it breaks the UI instead of showing a simple error message that the DAG is missing, it looks like an error. On check, I discovered that there are many other places `get_dag` was used expecting it to return None if there’s no dag and it could raise exceptions in those places. I tried using try/except to guard the usages but it was many and I then decided to remove it and return none instead of exception -- 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]
