diff --git a/lib/modules/platform/github/index.ts b/lib/modules/platform/github/index.ts
index ffc5f1ab893144afd68eff0042fe78a670689002..87a6f619f5fc812ddb3f5c6ee40ede9909636d43 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