mirror of https://github.com/grafana/grafana
Fix: JSON parsing in backend_srv (#45598)
* fix(plugins/state): console log errors during install / uninstall * fix(backend_srv): catch JSON parse errors Sometimes it can happen that a backend API responses says that it's returning with a JSON content-type, however it actually returns an invalid JSON (e.g. an empty body) - in which case the backendSrv() request errors out.pull/44980/head
parent
e44ea3d589
commit
1e21184f65
Loading…
Reference in new issue