ddollar / foreman

Manage Procfile-based applications

Home Page:http://ddollar.github.com/foreman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

check_for_termination problem

semdinsp opened this issue · comments

I upgraded foreman from 78.0 to 80.1 (gem) and my application now fails to start with the following message. (this was the only thing changed and is now happening on two different sinatra/nesta applicaitons)

check_for_termination': undefined method `exitstatus' for nil:NilClass

I am investigating and will update this issue as/if I make progress.

I think line 442 in engine.rb should be @ExitStatus ||= status.exitstatus if !status.nil?
I will see if I fix it in a fork but it will take a couple of hours

@ExitStatus ||= status.exitstatus if !status.nil?

I have tested and this fixes the problem. I submitted a pull request