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

Add error source #951

Merged
merged 6 commits into from
Sep 6, 2024
Merged

Add error source #951

merged 6 commits into from
Sep 6, 2024

Conversation

aangelisc
Copy link
Contributor

Add errorsource to any errors that are downstream and may be returned at some point in the QueryData endpoint. A downstream error is anything that is not due to the plugin directly.

The majority of this is handled by sqlds directly but I've tried to account for any cases where it isn't handled.

Copy link

github-actions bot commented Aug 19, 2024

Use the following command to run this PR with Docker at http://localhost:3000:

docker run --rm -p 3000:3000 grafana/plugin-builds:220df1b600bb4465c70c3d570ea07626a69f69ebpre

Copy link
Collaborator

@SpencerTorres SpencerTorres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Hope this improves error messages on the query and config pages.

@SpencerTorres
Copy link
Collaborator

I wonder if this solves or improves #187

@aangelisc
Copy link
Contributor Author

Hey @SpencerTorres, thanks for the review. For now I don't think it'll fix that issue but we can look into that soon 😊

@aangelisc aangelisc enabled auto-merge (squash) September 6, 2024 13:38
@aangelisc aangelisc merged commit 29bacc5 into main Sep 6, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants