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
Fix exit with error for run command #684
Comments
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
@mukundansundar, JS-SDK is facing issues while testing due to this behavior. While we have a workaround at the moment, it will be nice to have an elegant fix. Can I take this issue up? One thing that we were suspecting offline was that it can break existing consumers of the CLI. @XavierGeerinck suggested that this behavior can be kept behind a flag, for example |
In this case, this is a bug, so there is no need for a flag. Clients that depend on a bug will naturally break, which is OK here. |
Agree |
Sounds good, thanks! |
/assign |
Expected Behavior
On error, run command exits with error
Actual Behavior
Without installing dapr, running
dapr run
fails as expected. But the exit value is 0 instead of expected non-zero val.Additional error scenarios also need to be investigated and fixed if needed.
Steps to Reproduce the Problem
Don't install dapr, and then run
dapr run test
.Release Note
RELEASE NOTE: RESOLVED On error, run exits with an error code
The text was updated successfully, but these errors were encountered: