From: Mathias Klette Date: Wed, 5 Jun 2013 18:10:32 +0000 (+0200) Subject: debian_build: let's skip trace for no-branch errors X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=7ba440fb4d0c514d4e5ce057981c8a8aeaf00de3;p=profitbricks%2Fjenkins-build-scripts.git debian_build: let's skip trace for no-branch errors --- diff --git a/debian_build.py b/debian_build.py index 4eb2623..8aef69d 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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