summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/gitdir.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/morphlib/gitdir.py b/morphlib/gitdir.py
index a6dd26a1..5450db26 100644
--- a/morphlib/gitdir.py
+++ b/morphlib/gitdir.py
@@ -128,9 +128,10 @@ class PushFailureError(PushError):
self.exit = exit
self.results = results
self.stderr = stderr
- PushError.__init__(self, 'Push to remote "%(remote)s", '\
- 'push url %(push_url)s '\
- 'failed with exit code %(exit)s' % locals())
+ PushError.__init__(self, 'Push to remote "%(remote)s", '
+ 'push url %(push_url)s '
+ 'failed with exit code %(exit)s\n'
+ 'stderr: %(stderr)s' % locals())
class RefSpec(object):