mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
CloudwatchLogs: send error down to client (#36277)
* CloudwatchLogs: send error down to client * Move error handling down to startLiveQuery
This commit is contained in:
parent
f62bc59688
commit
0ae8a85828
@ -241,6 +241,11 @@ func (e *cloudWatchExecutor) startLiveQuery(ctx context.Context, responseChannel
|
||||
|
||||
startQueryOutput, err := e.executeStartQuery(ctx, logsClient, model, timeRange)
|
||||
if err != nil {
|
||||
responseChannel <- &backend.QueryDataResponse{
|
||||
Responses: backend.Responses{
|
||||
query.RefID: {Error: err},
|
||||
},
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user