grafana / sqlds

A package that assists writing SQL-driven datasources
Apache License 2.0
17 stars 12 forks source link

return error frame during macro parsing errors #37

Closed yesoreyeram closed 3 years ago

yesoreyeram commented 3 years ago

Note for future refactors: I wonder if there's a way that we could set this up so that we didn't have to call the same function every time we return an error 👀

Yea. I thought the same. we can handle it here https://github.com/grafana/sqlds/blob/main/datasource.go#L87