Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.
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
Also log return code.
  • Loading branch information
Kami committed Jul 25, 2018
commit beec5bd1b7fd43641afd50f43a63d6b45d5d4138
3 changes: 2 additions & 1 deletion codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def try_to_run(cmd):
try:
return check_output(cmd, shell=True)
except subprocess.CalledProcessError as e:
write(' Error running `%s`: output=%s, e=%s' % (cmd, str(getattr(e, 'output', '')), str(e)))
write(' Error running `%s`: output=%s, returncode=%s, e=%s' % (cmd,
str(getattr(e, 'output', '')), e.returncode, str(e)))


def remove_non_ascii(data):
Expand Down