aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar Oliver Chang <oliverchang@users.noreply.github.com>2019-04-03 15:29:23 +1100
committerGravatar GitHub <noreply@github.com>2019-04-03 15:29:23 +1100
commit23a5f44b29dcf3996bbfb9710ba50f1816faf644 (patch)
treed8804fa3e5fc608e8d35a09c0157ec62ae935ca8 /infra
parent7b3ebc2abb51c6e92d4825a91fd35de213fe89cb (diff)
Address comments from https://github.com/google/oss-fuzz/pull/2285. (#2287)
Diffstat (limited to 'infra')
-rwxr-xr-xinfra/gcb/builds_status.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/gcb/builds_status.py b/infra/gcb/builds_status.py
index 891b5ae6..0b2fe15e 100755
--- a/infra/gcb/builds_status.py
+++ b/infra/gcb/builds_status.py
@@ -66,6 +66,7 @@ def find_last_build(builds, project, build_tag_suffix):
builds = builds.get(tag)
if not builds:
+ print >>sys.stderr, 'Failed to find builds with tag', tag
return None
for build in builds:
@@ -123,7 +124,7 @@ def get_builds(cloudbuild):
projectId='oss-fuzz', pageSize=page_size, pageToken=next_page_token))
if not 'builds' in response:
- print >> sys.stderr, 'Invalid response', response
+ print >> sys.stderr, 'Invalid response from builds list:', response
return None
ungrouped_builds.extend(response['builds'])