Fix blanket exception rescue in ThreadPoolServer
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:08:47 +0000 (01:08 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:08:47 +0000 (01:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668957 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/lib/thrift/server.rb

index 206a6c6..d5ed902 100644 (file)
@@ -125,7 +125,7 @@ module Thrift
                   trans.close
                 end
               end
-            rescue Exception => e
+            rescue => e
               @exception_q.push(e)
             ensure
               @thread_q.pop # thread died!