Skip to content

CommandCommand crashes on null when API returns empty response #118

@JoshSalway

Description

@JoshSalway

CommandCommand calls collect(...)->first() on the API response without null checking. If the API returns an empty response, $command becomes null and the next $command->status access throws an error.

Should add a null check after the collection lookup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions