]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build: let's skip trace for no-branch errors
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 5 Jun 2013 18:10:32 +0000 (20:10 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 5 Jun 2013 18:10:32 +0000 (20:10 +0200)
debian_build.py

index 4eb2623d012bd2f75141a34b69e260b53d1faee8..8aef69d554193f9ed5687eb8f5cb77205759eb8c 100755 (executable)
@@ -140,11 +140,7 @@ if __name__ == '__main__':
         elif hasattr(curr_commit, 'id'):
             curr_commit_id = curr_commit.id
     except Exception as error:
-        logger.error('Failed to find commit for {input}'.format(
-            input=remote_branch,
-            ), 
-            exc_info=error
-        )
+        logger.error('Failed to find commit for {input}'.format(input=remote_branch))
         exit_error()
 
     # .. content related