Skip to content

Failing commands return a zero exit-code #102

@AlexW-Valtech

Description

@AlexW-Valtech

When a command fails due to an error, we would expect this to also return a non-zero exit-code, so the error can be detected.

Currently it does not so it "seems" like the command has succeeded when it hasn't. This is misleading in automated scenarios such as CI/CD pipelines, where we would want a pipeline to report an error if a dc-cli command fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions