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

Deal with non json body #289

Closed
wants to merge 1 commit into from
Closed

Conversation

mt3593
Copy link
Contributor

@mt3593 mt3593 commented Dec 17, 2024

Grafana now returns no body on a 404 call for the alert rules. It fails to parse the body and throws an exception. This fix is to catch the exception and return what it can to the calling code.

Grafana now returns no body on a 404 call for the alert rules. It fails
to parse the body and throws an exception. This fix is to catch the
exception and return what it can to the calling code.
@mt3593
Copy link
Contributor Author

mt3593 commented Dec 17, 2024

Looks like a duplicate of #282 will close

@mt3593 mt3593 closed this Dec 17, 2024
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.

1 participant