We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0e060e commit 213b8f1Copy full SHA for 213b8f1
1 file changed
codecov/__init__.py
@@ -181,8 +181,9 @@ def check_output(cmd, **popen_args):
181
def try_to_run(cmd, shell=False, cwd=None):
182
try:
183
return check_output(cmd, shell=shell, cwd=cwd)
184
- except subprocess.CalledProcessError as e:
+ except subprocess.CalledProcessError, FileNotFoundError as e:
185
write(' Error running `%s`: %s' % (cmd, e.output or str(e)))
186
+ return None
187
188
189
def run_python_coverage(args):
0 commit comments