Simplify debugging, avoid inspecting C-backed objects.

pull/1362/head
Tim Emiola 10 years ago
parent 119decc0f4
commit 0a6557809a
  1. 2
      src/ruby/lib/grpc/generic/active_call.rb

@ -188,7 +188,7 @@ module GRPC
# @param marshalled [false, true] indicates if the object is already # @param marshalled [false, true] indicates if the object is already
# marshalled. # marshalled.
def remote_send(req, marshalled = false) def remote_send(req, marshalled = false)
logger.debug("sending #{req.inspect}, marshalled? #{marshalled}") logger.debug("sending #{req}, marshalled? #{marshalled}")
if marshalled if marshalled
payload = req payload = req
else else

Loading…
Cancel
Save