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

Bot Deployment Silently Fails in CLI #3692

Open
charlesbthomas opened this issue Jan 8, 2024 · 0 comments
Open

Bot Deployment Silently Fails in CLI #3692

charlesbthomas opened this issue Jan 8, 2024 · 0 comments
Labels
bots Features and fixes related to bots and automation good first issue Good for newcomers

Comments

@charlesbthomas
Copy link
Contributor

When running the medplum bot deploy command with the cli, we have found that it fails silently when an error is encountered.

For example: we had a bot's id mismatched in one of our environments which encountered a "NOT FOUND" error (logged out by the CLI), but it still returned a successful status code, and subsequently passed in our CI/CD.

I recommend making it return a non-zero status code.

@reshmakh reshmakh added the bots Features and fixes related to bots and automation label Jan 8, 2024
@rahul1 rahul1 added the good first issue Good for newcomers label Jan 30, 2024
@rahul1 rahul1 added this to the Milestone Quality milestone Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bots Features and fixes related to bots and automation good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

3 participants