Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
drazisil committed Mar 17, 2020
1 parent 95d0c54 commit 38f2303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def check_output(cmd, **popen_args):
def try_to_run(cmd, shell=False, cwd=None):
try:
return check_output(cmd, shell=shell, cwd=cwd)
except (subprocess.CalledProcessError, FileNotFoundError) as e:
except Exception as e:
write(' Error running `%s`: %s' % (cmd, e.output or str(e)))
return None

Expand Down

0 comments on commit 38f2303

Please sign in to comment.