Skip to content

Commit

Permalink
Autoinstrumentation: Don't log errors in partial response that produc…
Browse files Browse the repository at this point in the history
…e status=cancelled
  • Loading branch information
ivanahuckova committed Oct 2, 2024
1 parent 5b4c6d3 commit b9d82ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/data_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (a *dataSDKAdapter) QueryData(ctx context.Context, req *pluginv2.QueryDataR
// and if there's no plugin error
var hasPluginError, hasDownstreamError bool
for refID, r := range resp.Responses {
if r.Error == nil {
if r.Error == nil || isCancelledError(r.Error) {
continue
}

Expand Down

0 comments on commit b9d82ca

Please sign in to comment.