diff options
Diffstat (limited to 'lib/git/errors.py')
-rw-r--r-- | lib/git/errors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/errors.py b/lib/git/errors.py index e9a637c0..18c58073 100644 --- a/lib/git/errors.py +++ b/lib/git/errors.py @@ -27,6 +27,6 @@ class GitCommandError(Exception): self.command = command def __str__(self): - return repr("%s returned exit status %d" % - (str(self.command), self.status)) + return repr("'%s' returned exit status %d: %r" % + (' '.join(self.command), self.status, str(self.stderr))) |