From 6be7e756fcf699bb29d59d437ddecd3a24d32e23 Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Tue, 2 Nov 2021 12:12:29 +0100 Subject: [PATCH] fix(github): log graphql errors (#12452) --- lib/util/http/github.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util/http/github.ts b/lib/util/http/github.ts index 972e56f0f4..bdfd2f6f72 100644 --- a/lib/util/http/github.ts +++ b/lib/util/http/github.ts @@ -284,6 +284,7 @@ export class GithubHttp extends Http<GithubHttpOptions, GithubHttpOptions> { ); result = res?.body; } catch (err) { + logger.debug({ err, query, options }, 'Unexpected GraphQL Error'); if (err instanceof ExternalHostError) { const gotError = err.err as GotLegacyError; const statusCode = gotError?.statusCode; -- GitLab