mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Log any exceptions in ThreadPool. Fixes #1010
This commit is contained in:
parent
ce4b9d5d0e
commit
181c472781
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ module Puma
|
|||
|
||||
begin
|
||||
block.call(work, *extra)
|
||||
rescue Exception
|
||||
rescue Exception => e
|
||||
STDERR.puts "Error reached top of thread-pool: #{e.message} (#{e.class})"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue