From de3cb95e91569768608df6a10d7e166f221c1243 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 27 Apr 2023 17:03:06 +0200
Subject: [PATCH] fix(github): log res if no repository returned

---
 lib/modules/platform/github/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/modules/platform/github/index.ts b/lib/modules/platform/github/index.ts
index ffc5f1ab89..87a6f619f5 100644
--- a/lib/modules/platform/github/index.ts
+++ b/lib/modules/platform/github/index.ts
@@ -393,6 +393,7 @@ export async function initRepo({
     repo = res?.data?.repository;
     // istanbul ignore if
     if (!repo) {
+      logger.debug({ res }, 'No repository returned');
       throw new Error(REPOSITORY_NOT_FOUND);
     }
     // istanbul ignore if
-- 
GitLab