mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
cloudwatch: return early if execute query returns error
This will stop a segfault from happening
This commit is contained in:
parent
f0fb8123ae
commit
0612ce9b75
@ -133,6 +133,7 @@ func (e *CloudWatchExecutor) executeTimeSeriesQuery(ctx context.Context, queryCo
|
||||
result.Results[query.RefId] = &tsdb.QueryResult{
|
||||
Error: err,
|
||||
}
|
||||
return nil
|
||||
}
|
||||
result.Results[queryRes.RefId] = queryRes
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user