Skip to content

Commit

Permalink
fix(github): log res if no repository returned
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Apr 27, 2023
1 parent d03f96d commit de3cb95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/platform/github/index.ts
Expand Up @@ -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
Expand Down

0 comments on commit de3cb95

Please sign in to comment.