Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 21, 2025. It is now read-only.

Improve error reporting in the "try_run" function and correctly include original command output in the error message #153

Merged
merged 7 commits into from
Sep 9, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update codecov/__init__.py
  • Loading branch information
thomasrockhu authored Sep 9, 2020
commit 60bf5f802f024f09013d7a24014591a13cd9aab2
2 changes: 1 addition & 1 deletion 2 codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def check_output(cmd, **popen_args):

def try_to_run(cmd, shell=False, cwd=None):
try:
return check_output(cmd, shell=True, cwd=cwd)
return check_output(cmd, shell=shell, cwd=cwd)
except Exception as e:
write(' Error running `%s`: returncode=%s, output=%s' % (cmd, e.returncode,
str(getattr(e, 'output', str(e)))))
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.