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

script_stop: true hinders errors #130

Closed
ocervell opened this issue Aug 12, 2021 · 2 comments · Fixed by #350
Closed

script_stop: true hinders errors #130

ocervell opened this issue Aug 12, 2021 · 2 comments · Fixed by #350
Assignees
Labels
question Further information is requested

Comments

@ocervell
Copy link

When I add script_stop: true, if any of the commands in the script section fail, I don't get any logs, just the following error:

======END======
2021/08/12 13:11:49 Process exited with status 1

I'd like the script to abort if there is an error if one of the commands, but still display the entire log, so I can know what went wrong.

Adding debug: true doesn't help much.

@dbistera
Copy link

dbistera commented Feb 1, 2023

Having a same issue

@appleboy
Copy link
Owner

appleboy commented Apr 4, 2023

@ocervell @dbistera Can you post your script? or see the comment first #233 (comment)

@appleboy appleboy added the question Further information is requested label Apr 4, 2023
@appleboy appleboy self-assigned this Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants