Handle errors when loading dashboard with template variables that query data sources that cannot be found
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user