mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
chore: improve graphql shrinking log (#18445)
This commit is contained in:
parent
3aa94d46f4
commit
da244e3b9c
1 changed files with 5 additions and 1 deletions
|
@ -206,7 +206,11 @@ export class GithubGraphqlDatasourceHelper<
|
||||||
if (!shrinkResult) {
|
if (!shrinkResult) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
logger.debug({ err, size: this.itemsPerQuery }, 'Shrinking page size');
|
const { body, ...options } = this.getRawQueryOptions();
|
||||||
|
logger.debug(
|
||||||
|
{ options, newSize: this.itemsPerQuery },
|
||||||
|
'Shrinking GitHub GraphQL page size after error'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue