From 0d2ca2d93d62e57f91b4b2909df7a4fe23813ad6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 9 Sep 2014 12:00:53 +0200 Subject: [PATCH] Print the error message if there is one --- roles/distgit/templates/pkgdb_sync_git_branches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/distgit/templates/pkgdb_sync_git_branches.py b/roles/distgit/templates/pkgdb_sync_git_branches.py index 83df7a4f2a..3c4f0568bd 100644 --- a/roles/distgit/templates/pkgdb_sync_git_branches.py +++ b/roles/distgit/templates/pkgdb_sync_git_branches.py @@ -101,6 +101,7 @@ def _invoke(program, args): output = program.stdout.read() e.message = 'Error, "%s" returned %s: %s' % ( e.cmd, e.returnCode, output) + print e.message else: e.message = 'Error, "%s" returned %s' % (e.cmd, e.returnCode) raise e