hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Specific error messages #201

Closed sankerust closed 6 years ago

sankerust commented 6 years ago

We should make error messages more detailed.

One of the users pointed out, that error messages currently don't help in finding and fixing an error.

E.g. One of the cases is the unexpected error that is being thrown when HASTIC_SERVER_URL is unreachable. (both when the server is down and when the variable simply doesn't match the servers url)

jonyrock commented 6 years ago

@sankerust I believe that it is a issue for https://github.com/hastic/hastic-grafana-graph-panel

rozetko commented 6 years ago

There is already an issue for that: https://github.com/hastic/hastic-grafana-graph-panel/issues/48

rozetko commented 6 years ago

e.g. When you have some analytic unit in panel, but don't have it in server - you got Can't find anything error Should be changed to something like There is no analytic unit with id ${id}