diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c index e8a93b91bf43fc5f18f33a7b43386ba2af9e8d43..5519a1ec7e25efd89ea3699d534845b5dc049ce3 100644 --- a/src/core/lib/surface/call.c +++ b/src/core/lib/surface/call.c @@ -989,6 +989,8 @@ static grpc_error *consolidate_batch_errors(batch_control *bctl) { if (n == 0) { return GRPC_ERROR_NONE; } else if (n == 1) { + /* Skip creating a composite error in the case that only one error was + logged */ grpc_error *e = bctl->errors[0]; bctl->errors[0] = NULL; return e;