OctopusDeploy / cli

| Public | Next Generation of the Octopus CLI :octopus:
Other
35 stars 10 forks source link

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

Open KennethBates opened 1 month ago

KennethBates commented 1 month ago

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