Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

proper error messages on templating screen #25

Open
jodok opened this issue Nov 22, 2016 · 3 comments
Open

proper error messages on templating screen #25

jodok opened this issue Nov 22, 2016 · 3 comments

Comments

@jodok
Copy link
Contributor

jodok commented Nov 22, 2016

if there's an error with the templating sql query, it should be showed properly:

templating

(here's what happened in the background)

  • a HTTP 403 error - because a missing CROSS-SITE-ORIGIN header configuration - caused the error

HTTP 403 errors should probably point to the docs that show how to configure it properly

403

@joemoe
Copy link

joemoe commented Nov 29, 2016

@alexanderzobnin maybe just return the error message of crate

@alexanderzobnin
Copy link
Contributor

@joemoe Unfortunately, I can't do that because Grafana handle error before I can get it inside plugin code. I just get general error object with odd status -1 and without any explanations. I'll discuss this with @torkelo and we'll try to find better solution.

@joemoe
Copy link

joemoe commented Nov 30, 2016

ok. i think this would be a good feature as the user then would know what to do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants