Skip to content

Incorrect exit code returned after an exception occurs #29

@mpmenne

Description

@mpmenne

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions