From 81febde566b1c63ed1198beb8d6f98c706cd324d Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Thu, 9 Apr 2020 12:38:46 +1000 Subject: [PATCH] Log output when we fail to detect main repo. (#3599) --- infra/build_specified_commit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/build_specified_commit.py b/infra/build_specified_commit.py index fb570726a..515dae24c 100644 --- a/infra/build_specified_commit.py +++ b/infra/build_specified_commit.py @@ -92,4 +92,6 @@ def detect_main_repo(project_name, repo_name=None, commit=None): match = re.search(r'\bDetected repo: ([^ ]+) ([^ ]+)', out.rstrip()) if match and match.group(1) and match.group(2): return match.group(1), match.group(2) + + logging.error('Failed to detect repo:\n%s', out) return None, None