1
0
Fork 0
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:
Evan Phoenix 2016-07-18 21:26:05 -07:00
parent ce4b9d5d0e
commit 181c472781

View file

@ -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