diff --git a/lib/util/github/graphql/datasource-helper.ts b/lib/util/github/graphql/datasource-helper.ts index 0f94b1aa33ba103c9c48c933f58aa74a50816ff2..db0bc4f3b9b2ce9ecddb7d269d4a025728791ec7 100644 --- a/lib/util/github/graphql/datasource-helper.ts +++ b/lib/util/github/graphql/datasource-helper.ts @@ -206,7 +206,11 @@ export class GithubGraphqlDatasourceHelper< if (!shrinkResult) { 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' + ); } }