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

fix: fix broken admin error message displays #6439

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

kylemumma
Copy link
Member

error messages in the snuba admin tool haven't been showing up properly on some of the tools. my previous pr #6390 tried to address this, you can see it for an example of the issue.

unfortunately this change fixed the error messages on "system query" tool but broke them on "production query tool".

Screenshot 2024-10-17 at 10 49 59 AM

I have since found out this is because the error messages come from the execute_button component which is used across many different pages, and receives a variety of different looking error variables as input. Related to #6280.

In this PR I updated the logic again and verified across all pages that use the execute button that the error display looks good.

@kylemumma kylemumma requested a review from a team as a code owner October 17, 2024 17:53
@kylemumma kylemumma merged commit e228f1a into master Oct 17, 2024
30 checks passed
@kylemumma kylemumma deleted the krm/admin-err branch October 17, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants