Raise thread errors instead of eating them

git-svn-id: file:///home/svn/framework3/trunk@11024 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-11-13 06:22:40 +00:00
parent 54f3563c7e
commit bc2d43d86d
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ class ThreadManager < Array
argv.shift.call(*argv)
rescue ::Exception => e
elog("thread exception: #{::Thread.current[:tm_name]} critical=#{::Thread.current[:tm_crit]} error:#{e.class} #{e} #{e.backtrace} source:#{::Thread.current[:tm_call].inspect}")
raise e
end
end
else