8000 Exception · codecov/codecov-python@38f2303 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 38f2303

Browse files
committed
Exception
1 parent 95d0c54 commit 38f2303

File tree

1 file changed

+1
-1
lines 8000 changed

1 file changed

+1
-1
lines changed

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)
0