diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-04 03:13:20 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-04 03:13:20 +0000 |
commit | 0230590130c747d63cfbc4299421d251ef6e76c6 (patch) | |
tree | 291d3e5fd251cfa0333af87248e3e8f1d206d47a /lib/drb | |
parent | 9fb8a9ff42e856e2c012559e95ecb93ab0b43588 (diff) | |
download | ruby-0230590130c747d63cfbc4299421d251ef6e76c6.tar.gz |
* lib/drb/drb.rb: add debug information for mswin CI. this change will be reverted later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r-- | lib/drb/drb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index 456d0fbfa0..0f2ec5c307 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -582,7 +582,7 @@ module DRb 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 |