From dc445bde7a9802c2fffb451020f73675d31922cc Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 28 Oct 2021 10:37:09 +0200
Subject: [PATCH] logs: graphql nodes error query and options (#12370)

---
 lib/util/http/github.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util/http/github.ts b/lib/util/http/github.ts
index daba1c8b63..4cbdcce682 100644
--- a/lib/util/http/github.ts
+++ b/lib/util/http/github.ts
@@ -344,7 +344,7 @@ export class GithubHttp extends Http<GithubHttpOptions, GithubHttpOptions> {
       } else {
         count = Math.floor(count / 2);
         if (count === 0) {
-          logger.error({ res }, 'Error fetching GraphQL nodes');
+          logger.error({ query, options, res }, 'Error fetching GraphQL nodes');
           isIterating = false;
         }
       }
-- 
GitLab