Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the actual error message in UI alert component #40350

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

bbovenzi
Copy link
Contributor

In a few parts of the UI we just displayed text "An error occurred." Instead, we should try to display the actual error message. Since we do this in enough places, it should also be a shared Alert component when we don't want to use the error toast.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Jun 20, 2024
@bbovenzi bbovenzi added this to the Airflow 2.9.3 milestone Jun 20, 2024
@bbovenzi bbovenzi changed the title Improve UI error handling Display the actual error message in UI alert component Jun 20, 2024
@bbovenzi bbovenzi merged commit 7cd8ac3 into apache:main Jun 20, 2024
49 checks passed
@bbovenzi bbovenzi deleted the improve-ui-error-handling branch June 20, 2024 16:24
@utkarsharma2 utkarsharma2 added the type:improvement Changelog: Improvements label Jul 1, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants