Skip to content

NoMethod error in fork_supervisor upon terminating processes #305

Closed
@Darhazer

Description

Since we upgraded to 0.6.0 our error reporting system started producing:

Undefined method `>' for nil (NoMethodError)

          if (terminated_fork = forks.delete(pid)) && !status.exited? || status.exitstatus > 0

The code was introduced in #277

I suppose the code is meant to be

if (terminated_fork = forks.delete(pid)) && (!status.exited? || status.exitstatus > 0)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions