Skip to content

Commit

Permalink
When a command fails, I'd like to know what it was.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Feb 18, 2015
1 parent 75bb862 commit 5e221b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hotness/buildsys.py
Expand Up @@ -71,7 +71,7 @@ def run(self, cmd, cwd=None):
if err:
self.log.warning(err)
if p.returncode != 0:
self.log.error('return code %s', p.returncode)
self.log.error('return code %s, %r', p.returncode, cmd)
raise Exception
return out

Expand Down

0 comments on commit 5e221b8

Please sign in to comment.