Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Fixing dryrun add debug #194

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Fixing dryrun add debug #194

merged 2 commits into from
Dec 21, 2023

Conversation

garethgreenaway
Copy link
Contributor

Fixing dryrun add debug

…ror checking when commands fail and halting the run when this happens.
Comment on lines +116 to +119
ret = run_command(cmd)
if ret.returncode != 0:
print(f"Failure: {ret.stderr}")
sys.exit(ret.returncode)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking): this block is repeated a bunch. it might be good to move the logic up into run_command at some point in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants