Skip to content

Commit

Permalink
log responses
Browse files Browse the repository at this point in the history
darcs-hash:20070301054659-28bda-a66ee7994550de35ba4e8680a102969c6f839b45.gz
  • Loading branch information
fugalh committed Mar 1, 2007
1 parent 6bc14e7 commit 3ecdf8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/agi.rb
Expand Up @@ -42,7 +42,9 @@ def send(cmd, *args)
@log.debug ">> "+msg
@io_out.puts msg
@io_out.flush # I'm not sure if this is necessary, but just in case
Response.new(@io_in.readline)
resp = @io_in.readline
@log.debug "<< "+resp
Response.new(resp)
end

# Shortcut for send. e.g.
Expand Down

0 comments on commit 3ecdf8b

Please sign in to comment.