Handle errors when loading dashboard with template variables that query data sources that cannot be found

This commit is contained in:
Torkel Ödegaard
2015-04-07 13:48:26 +02:00
parent 8f73328e25
commit 646298f5c5
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ func Gziper() macaron.Handler {
return func(ctx *macaron.Context) {
requestPath := ctx.Req.URL.RequestURI()
// ignore datasource proxy requests
if strings.HasPrefix(requestPath, "/api/datasources/proxy") {
return
}