summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-10 03:08:41 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-10 03:08:41 +0000
commit7b8986f44567df30eb98f3c0928dfa175472b783 (patch)
tree832358f155f19370e573287b5c08c8aa68350b4d /lib
parentf1df08e76deadd8a22dc53b86d68cad5f6c11c22 (diff)
* lib/drb/drb.rb: revert r52442 because it was for debugging, and after this
target problem was misteriously disappeared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/drb/drb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb
index 0f2ec5c307..456d0fbfa0 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 + " peer: #{soc.peeraddr[2]}:#{soc.peeraddr[1]}, sz: #{sz}", $!.backtrace)
+ raise(DRbConnError, $!.message, $!.backtrace)
end
raise(DRbConnError, 'connection closed') if str.nil?
raise(DRbConnError, 'premature marshal format(can\'t read)') if str.size < sz