Skip to content

Unhelpful output when attempting to create a release with a package that doesn't exist #426

Description

@KennethBates

The bug

If you attempt to create a release of a project via the CLI where the package will not be found in the built-in repo, the output is completely unhelpful/confusing.

Command to reproduce

octopus release create --project "Project" --version 1.0.0 --space "Space" --no-prompt

Outcome

Octopus API error: Object reference not set to an instance of an object. []

Versions

cli: 2.10.2

Octopus Server: 2024.4.2267

Links

Report (private): https://octopus.zendesk.com/agent/tickets/205173

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