mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Merge pull request #644 from bpaquet/master
Avoid crash in strange restart conditions
This commit is contained in:
commit
a67ecb2c40
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ module Puma
|
|||
if threads.first.respond_to? :backtrace
|
||||
log "! WARNING: Detected #{after.size-before.size} Thread(s) started in app boot:"
|
||||
threads.each do |t|
|
||||
log "! #{t.inspect} - #{t.backtrace.first}"
|
||||
log "! #{t.inspect} - #{t.backtrace ? t.backtrace.first : ''}"
|
||||
end
|
||||
else
|
||||
log "! WARNING: Detected #{after.size-before.size} Thread(s) started in app boot"
|
||||
|
|
Loading…
Add table
Reference in a new issue