[前][次][番号順一覧][スレッド一覧]

ruby-changes:40434

From: usa <ko1@a...>
Date: Tue, 10 Nov 2015 12:08:51 +0900 (JST)
Subject: [ruby-changes:40434] usa:r52515 (trunk): * lib/drb/drb.rb: revert r52442 because it was for debugging, and after this

usa	2015-11-10 12:08:41 +0900 (Tue, 10 Nov 2015)

  New Revision: 52515

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52515

  Log:
    * lib/drb/drb.rb: revert r52442 because it was for debugging, and after this
      target problem was misteriously disappeared.

  Modified files:
    trunk/lib/drb/drb.rb
Index: lib/drb/drb.rb
===================================================================
--- lib/drb/drb.rb	(revision 52514)
+++ lib/drb/drb.rb	(revision 52515)
@@ -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 + " 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]