Skip to content

Time can be nil and crash the screen #259

Open
@brunoarueira

Description

@brunoarueira

When attempting to access mission control blocked jobs tab, we got the following error:

NoMethodError: undefined method `past?' for nil

    time_distance = if time.past?
                           ^^^^^^

It's because the solid_queue backend can return nil for blocked_until:

job.blocked_until = solid_queue_job&.blocked_execution&.expires_at if job_status == :blocked

Metadata

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