more stuff to see on failure

This commit is contained in:
Mike Dirolf 2009-03-03 09:59:36 -05:00
parent 0d64ec9de1
commit f907edcde5
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ module XGen
begin
buf.put_array(@db.socket.recv(size-4).unpack("C*"), 4)
rescue => ex
raise "#{ex.class}: #{ex.message} ***size was #{size}***"
raise "#{ex.class}: #{ex.message} ***size was #{size}*res_flags #{@result_flags}*cursor_id #{@cursor_id}*starting_from #{@starting_from}*n_returned #{@n_returned}***"
end
@n_remaining -= 1
buf.rewind