pierrejeambrun opened a new pull request, #26762: URL: https://github.com/apache/airflow/pull/26762
When testing edge cases for https://github.com/apache/airflow/pull/26457 I noticed that the toast error would not properly be displayed when the api response returns any error derived from a `ProblemException`. This would end up in an unhandled exception in the UI. > Note: Certain endpoint like `/run` can return just a text when there is an error, so we need to keep the `error.response?.data` in case `data` is plain text and not an object. ### Before  ### After  -- 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]
