pull/36775/head
Craig Tiller 6 months ago
parent 224a59bd24
commit 3ca1d76da1
  1. 6
      src/core/client_channel/client_channel_filter.cc

@ -3318,9 +3318,9 @@ void ClientChannelFilter::FilterBasedLoadBalancedCall::
// Get status from error. // Get status from error.
grpc_status_code code; grpc_status_code code;
std::string message; std::string message;
grpc_error_get_status(error, self->arena_->GetContext<Call>()->deadline(), grpc_error_get_status(
&code, &message, error, self->arena()->GetContext<Call>()->deadline(), &code, &message,
/*http_error=*/nullptr, /*error_string=*/nullptr); /*http_error=*/nullptr, /*error_string=*/nullptr);
status = absl::Status(static_cast<absl::StatusCode>(code), message); status = absl::Status(static_cast<absl::StatusCode>(code), message);
} else { } else {
// Get status from headers. // Get status from headers.

Loading…
Cancel
Save