Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
76c235b
)
Fix blanket exception rescue in ThreadPoolServer
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:08:47 +0000
(
01:08
+0000)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/server.rb
b/lib/rb/lib/thrift/server.rb
index
206a6c6
..
d5ed902
100644
(file)
--- a/
lib/rb/lib/thrift/server.rb
+++ b/
lib/rb/lib/thrift/server.rb
@@
-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!