From 23a5f44b29dcf3996bbfb9710ba50f1816faf644 Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 3 Apr 2019 15:29:23 +1100 Subject: [PATCH] Address comments from https://github.com/google/oss-fuzz/pull/2285. (#2287) --- infra/gcb/builds_status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/gcb/builds_status.py b/infra/gcb/builds_status.py index 891b5ae63..0b2fe15ef 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'])