[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT

pull/36467/head
tanvi-jagtap 7 months ago
parent 6a12b5247e
commit a1ea143c1b
  1. 2
      src/core/lib/transport/call_filters.cc
  2. 2
      src/core/lib/transport/call_filters.h

@ -55,7 +55,7 @@ Poll<ResultOr<T>> OperationExecutor<T>::Start(
template <typename T> template <typename T>
Poll<ResultOr<T>> OperationExecutor<T>::InitStep(T input, void* call_data) { Poll<ResultOr<T>> OperationExecutor<T>::InitStep(T input, void* call_data) {
CHECK_NE(input, nullptr); CHECK(input != nullptr);
while (true) { while (true) {
if (ops_ == end_ops_) { if (ops_ == end_ops_) {
return ResultOr<T>{std::move(input), nullptr}; return ResultOr<T>{std::move(input), nullptr};

@ -1390,7 +1390,7 @@ class CallFilters {
public: public:
Push(CallFilters* filters, T x) Push(CallFilters* filters, T x)
: filters_(filters), value_(std::move(x)) { : filters_(filters), value_(std::move(x)) {
CHECK_NE(value_, nullptr); CHECK(value_ != nullptr);
if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_promise_primitives)) { if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_promise_primitives)) {
gpr_log(GPR_INFO, "BeginPush[%p|%p]: %s", &state(), this, gpr_log(GPR_INFO, "BeginPush[%p|%p]: %s", &state(), this,
state().DebugString().c_str()); state().DebugString().c_str());

Loading…
Cancel
Save