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

Return appropriate error code when there are uncommitted changes during astro deploy #1721

Open
neel-astro opened this issue Sep 19, 2024 · 1 comment

Comments

@neel-astro
Copy link
Contributor

As of now, when there are uncommitted changes in the local Astro project, and the user tries astro deploy without -f flag, then Astro CLI logs an error message about uncommitted changes but ends up exiting with return code 0, we should update that to return appropriate error code.

This also ties to our known tech debt issue for improving error handling in Astro CLI.

Slack Reference: https://astronomer.slack.com/archives/CL44PA4DB/p1726738192456099

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

2 participants
@neel-astro and others