We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
do-request uses json/read-str to convert the response of the request into a Clojure data structure and return it as the :body value (https://github.com/magnetcoop/dashboard-manager.grafana/blob/0acf4f238e8dbd6e26f54208639830cdcfb625bf/src/magnet/dashboard_manager/grafana.clj#L70).
do-request
json/read-str
:body
But if we get invalid JSON from the remote endpoint, it throws an exception. And we don't catch it and produce a suitable return value for the method.
The text was updated successfully, but these errors were encountered:
a665325
No branches or pull requests
do-request
usesjson/read-str
to convert the response of the request into a Clojure data structure and return it as the:body
value (https://github.com/magnetcoop/dashboard-manager.grafana/blob/0acf4f238e8dbd6e26f54208639830cdcfb625bf/src/magnet/dashboard_manager/grafana.clj#L70).But if we get invalid JSON from the remote endpoint, it throws an exception. And we don't catch it and produce a suitable return value for the method.
The text was updated successfully, but these errors were encountered: