From 4e5434b899bde4be034f4eaafbf2c5038590abb2 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Thu, 12 Mar 2020 13:32:02 +0100 Subject: [PATCH] fix(pypi): log attempts and success --- lib/datasource/pypi/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/datasource/pypi/index.ts b/lib/datasource/pypi/index.ts index b849b51087..97ab8198d2 100644 --- a/lib/datasource/pypi/index.ts +++ b/lib/datasource/pypi/index.ts @@ -183,8 +183,11 @@ export async function getPkgReleases({ dep = await getDependency(lookupName, hostUrl, compatibility); } if (dep !== null) { + logger.debug({ lookupName, hostUrl }, 'Found pypi result'); return dep; } + logger.debug({ lookupName, hostUrl }, 'No pypi result'); } + logger.debug({ lookupName, registryUrls }, 'Pypi lookup returning null'); return null; } -- GitLab