Skip to content

Conversation

@bpaquet
Copy link
Contributor

@bpaquet bpaquet commented Jan 29, 2015

I got the following crash on my production platform :
/home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/gems/puma-2.10.1/lib/puma/cluster.rb:298:in block in run': undefined methodfirst' for nil:NilClass (NoMethodError)
from /home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/gems/puma-2.10.1/lib/puma/cluster.rb:297:in each' from /home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/gems/puma-2.10.1/lib/puma/cluster.rb:297:inrun'
from /home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/gems/puma-2.10.1/lib/puma/cli.rb:507:in run' from /home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/gems/puma-2.10.1/bin/puma:10:in<top (required)>'
from /home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/bin/puma:23:in load' from /home/deploy/.rbenv/versions/2.2.0/gemsets/e82ef14dcf8086bc79b93c8607436f02/bin/puma:23:in

'

I add a test in the log code to avoid the crash.

evanphx added a commit that referenced this pull request Jan 29, 2015
Avoid crash in strange restart conditions
@evanphx evanphx merged commit a67ecb2 into puma:master Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants