summaryrefslogtreecommitdiffstats
path: root/releases/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'releases/scripts')
-rw-r--r--releases/scripts/create_branch.py4
-rw-r--r--releases/scripts/defaults.cfg2
2 files changed, 4 insertions, 2 deletions
diff --git a/releases/scripts/create_branch.py b/releases/scripts/create_branch.py
index 362aaaf99..fa3c92def 100644
--- a/releases/scripts/create_branch.py
+++ b/releases/scripts/create_branch.py
@@ -65,8 +65,9 @@ def create_branch(api, arguments):
logger.debug("Commit exists: %(commit)s", arguments)
except RequestException as err:
if hasattr(err, 'response') and err.response.status_code in [404]:
- logger.warn("Commit %(commit)s for %(project)s:%(branch)s does"
+ logger.warn("Commit %(commit)s for %(project)s does"
" not exist. Not creating branch.", arguments)
+ logger.warn(err)
else:
logger.error("Error: %s", str(err))
# Skip trying to create the branch
@@ -82,6 +83,7 @@ def create_branch(api, arguments):
if hasattr(err, 'response') and err.response.status_code in [412, 409]:
logger.info("Branch %(branch)s already created for %(project)s",
arguments)
+ logger.info(err)
else:
logger.error("Error: %s", str(err))
diff --git a/releases/scripts/defaults.cfg b/releases/scripts/defaults.cfg
index 47bf09129..6bc876588 100644
--- a/releases/scripts/defaults.cfg
+++ b/releases/scripts/defaults.cfg
@@ -1,2 +1,2 @@
[gerrit]
-url=https://gerrit.opnfv.org/
+url=https://gerrit.opnfv.org/gerrit/