8000 generic exception · sajith/codecov-python@47c8206 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47c8206

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

File tree

1 file changed

+1
-1
lines 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
@@ -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)
0