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.
grpc_status_code code;
std::string message;
grpc_error_get_status(error, self->arena_->GetContext<Call>()->deadline(),
&code, &message,
/*http_error=*/nullptr, /*error_string=*/nullptr);
grpc_error_get_status(
error, self->arena()->GetContext<Call>()->deadline(), &code, &message,
/*http_error=*/nullptr, /*error_string=*/nullptr);
status = absl::Status(static_cast<absl::StatusCode>(code), message);
} else {
// Get status from headers.

Loading…
Cancel
Save