grafana / grafana-plugin-examples

189 stars 53 forks source link

datasource-http-backend: improve error handling #113

Closed xnyo closed 1 year ago

xnyo commented 2 years ago

datasource-http-backend is using the same example error handling code as the datasource-basic.

Since the http backend example actually connects to an external service to fetch data, it would be nice to add proper error handling rather than an example one.

For example: