ruby-changes:40361
From: usa <ko1@a...>
Date: Wed, 4 Nov 2015 12:13:26 +0900 (JST)
Subject: [ruby-changes:40361] usa:r52442 (trunk): * lib/drb/drb.rb: add debug information for mswin CI. this change will be reverted later.
usa 2015-11-04 12:13:20 +0900 (Wed, 04 Nov 2015) New Revision: 52442 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52442 Log: * lib/drb/drb.rb: add debug information for mswin CI. this change will be reverted later. Modified files: trunk/lib/drb/drb.rb Index: lib/drb/drb.rb =================================================================== --- lib/drb/drb.rb (revision 52441) +++ lib/drb/drb.rb (revision 52442) @@ -582,7 +582,7 @@ module DRb https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L582 begin str = soc.read(sz) rescue - raise(DRbConnError, $!.message, $!.backtrace) + raise(DRbConnError, $!.message + " peer: #{soc.peeraddr[2]}:#{soc.peeraddr[1]}, sz: #{sz}", $!.backtrace) end raise(DRbConnError, 'connection closed') if str.nil? raise(DRbConnError, 'premature marshal format(can\'t read)') if str.size < sz -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/