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

return response with message when err occurs with a response #700

Closed
wants to merge 2 commits into from

Conversation

scottlepp
Copy link
Contributor

What this PR does / why we need it:
When an error is returned we only receive a generic message "Plugin health check failed"
image

This change returns a response with the message and displays it on the health check page.
image

Which issue(s) this PR fixes:
https://github.com/grafana/support-escalations/issues/6150

@scottlepp scottlepp requested a review from a team as a code owner June 7, 2023 18:36
@scottlepp scottlepp requested review from wbrowne, andresmgot and yesoreyeram and removed request for a team June 7, 2023 18:36
@scottlepp scottlepp changed the title return response with message when err exists return response with message when err occurs with a response Jun 7, 2023
@scottlepp scottlepp requested a review from cletter7 June 7, 2023 19:22
@scottlepp
Copy link
Contributor Author

Apparently some security concerns in Grafana cloud. https://raintank-corp.slack.com/archives/C01C4K8DETW/p1686165540640439

Though we still need a way to provide immediate feedback to the user so they know what they did wrong in the settings.

@scottlepp scottlepp closed this Jun 12, 2023
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.

None yet

1 participant