Skip to content

Commit 6e35428

Browse files
authored
Autoinstrumentation: Don't log errors in partial response that produce status=cancelled (#1100)
1 parent 5b4c6d3 commit 6e35428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/data_adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (a *dataSDKAdapter) QueryData(ctx context.Context, req *pluginv2.QueryDataR
4141
// and if there's no plugin error
4242
var hasPluginError, hasDownstreamError bool
4343
for refID, r := range resp.Responses {
44-
if r.Error == nil {
44+
if r.Error == nil || isCancelledError(r.Error) {
4545
continue
4646
}
4747

0 commit comments

Comments
 (0)