]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add debug msg
authorRobin Wittler <robin.wittler@profitbricks.com>
Tue, 9 Aug 2011 15:40:17 +0000 (17:40 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Tue, 9 Aug 2011 15:40:17 +0000 (17:40 +0200)
build.py

index 2434b0559b899c68f9eda4996decb0ecbe50adfb..3f36f61402732dcd912e2331dd305bcfb85a4d55 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -328,7 +328,10 @@ if __name__ == '__main__':
         ret = dch.wait()
 
         if ret:
-            raise Exception('git dch was not successfull')
+            raise Exception(
+                    'git dch was not successfull ' +
+                    'Error msg was: %s' %(dch.stderr.read())
+            )
         logger.info('debian/changelog written')
 
     if not GIT_COMMITTER_EMAIL: