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

Platform push don't throw errors during process #1065

Open
byvlad opened this issue Jun 29, 2021 · 1 comment
Open

Platform push don't throw errors during process #1065

byvlad opened this issue Jun 29, 2021 · 1 comment

Comments

@byvlad
Copy link

byvlad commented Jun 29, 2021

Hi!
The main problem that when you call platform push, and during the process something fails, this script doesn't throw error.
As you can see on the screenshots, usually, scripts throw errors.

1
2

@pjcdawkins
Copy link
Collaborator

Yes. The issue is that the "push" succeeded even though the subsequent deployment didn't. Currently the platform push command passes through the exit status from git push. Perhaps the git API would need to implement some kind of feature to report the deployment failure via the git exit status.

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