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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add raise_error option to run and run_and_log methods in process.py #206

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

nivinsrinivas
Copy link

@nivinsrinivas nivinsrinivas commented Feb 10, 2024

Summary

  • Add raise_error option to run and run_and_log methods in process.py

馃摎 Documentation preview 馃摎: https://meltano-edk--206.org.readthedocs.build/en/206/

Copy link
Collaborator

@edgarrmondragon edgarrmondragon left a comment

Choose a reason for hiding this comment

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

@nivinsrinivas Thanks! I left a comment.

Comment on lines +79 to +80
`check=True` and `raise_error=True`. This means that if the subprocess
fails a `CalledProcessError` will be raised.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you confirm if raise_error isn't doing anything at the moment?

Perhaps the same argument name check should be used for this method and just pass it directly to subprocess.run(..., check=check).

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

Successfully merging this pull request may close these issues.

None yet

2 participants