Commit 22eff788cbeaf8066b890fa948f0c00f1c6a0379
1 parent
4f9b40cc
Exists in
master
and in
1 other branch
Rubocop: fix silently swallowing exceptions, use Kernel.warn for output
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
Rakefile
config/boot.rb
config/unicorn.default.rb
... | ... | @@ -25,7 +25,7 @@ before_fork do |server, _worker| |
25 | 25 | begin |
26 | 26 | Process.kill("QUIT", File.read(old_pid).to_i) |
27 | 27 | rescue Errno::ENOENT, Errno::ESRCH |
28 | - # someone else did our job for us | |
28 | + warn "Unicorn: master process already killed, no problem" | |
29 | 29 | end |
30 | 30 | end |
31 | 31 | end | ... | ... |