Skip to content

Commit 38f2303

Browse files
committed
Exception
1 parent 95d0c54 commit 38f2303

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codecov/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def check_output(cmd, **popen_args):
181181
def try_to_run(cmd, shell=False, cwd=None):
182182
try:
183183
return check_output(cmd, shell=shell, cwd=cwd)
184-
except (subprocess.CalledProcessError, FileNotFoundError) as e:
184+
except Exception as e:
185185
write(' Error running `%s`: %s' % (cmd, e.output or str(e)))
186186
return None
187187

0 commit comments

Comments
 (0)