You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by kc...@apache.org on 2008/06/18 03:08:47 UTC

svn commit: r668957 - /incubator/thrift/trunk/lib/rb/lib/thrift/server.rb

Author: kclark
Date: Tue Jun 17 18:08:47 2008
New Revision: 668957

URL: http://svn.apache.org/viewvc?rev=668957&view=rev
Log:
Fix blanket exception rescue in ThreadPoolServer

Modified:
    incubator/thrift/trunk/lib/rb/lib/thrift/server.rb

Modified: incubator/thrift/trunk/lib/rb/lib/thrift/server.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/server.rb?rev=668957&r1=668956&r2=668957&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/server.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/server.rb Tue Jun 17 18:08:47 2008
@@ -125,7 +125,7 @@
                   trans.close
                 end
               end
-            rescue Exception => e
+            rescue => e
               @exception_q.push(e)
             ensure
               @thread_q.pop # thread died!