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

Incorrect exit code returned after an exception occurs #29

Open
mpmenne opened this issue Apr 2, 2020 · 0 comments
Open

Incorrect exit code returned after an exception occurs #29

mpmenne opened this issue Apr 2, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mpmenne
Copy link

mpmenne commented Apr 2, 2020

There seems to be an issue with the exit code that the twilio autopilot:update command is returning. I've detailed the steps to reproduce below. At the moment I am unable to get the script to return a 1 when an error is thrown. This bug is a blocker to using this CLI for any type of automation.

Steps to Reproduce

Run the following commands:

twilio autopilot:update --schema non_existent_schema
echo $?

Actual Result
0
Expected Result
1

@tingiris tingiris added the bug Something isn't working label Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants