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

Commit 47c8206

Browse files
committed
generic exception
1 parent 51e421e commit 47c8206

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
@@ -182,7 +182,7 @@ def try_to_run(cmd, shell=False, cwd=None):
182182
try:
183183
return check_output(cmd, shell=shell, cwd=cwd)
184184
except Exception as e:
185-
write(' Error running `%s`: %s' % (cmd, e.output or str(e)))
185+
write(' Error running `%s`: %s' % (cmd, e or str(e)))
186186
return None
187187

188188

0 commit comments

Comments
 (0)