Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exits with status code 0 when failing in --await-processing #1997

Open
raimohanska opened this issue Apr 19, 2023 · 0 comments
Open

Exits with status code 0 when failing in --await-processing #1997

raimohanska opened this issue Apr 19, 2023 · 0 comments

Comments

@raimohanska
Copy link

raimohanska commented Apr 19, 2023

Expected Behavior

Exit code 1 when processing fails.

Actual Behavior

Exit code 0

Steps to Reproduce

This is how it went

➜  contentful space environment create --environment-id juhatest --name juhatest --source master --await-processing --processing-timeout 50

Successfully created environment juhatest (juhatest) with source master
Waiting for processing...
Environment creation failed
➜  echo $?
0

Context

Using contentful-cli version 2.2.20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant