From 5c829cc2b95ac240c9295c698bd79efe28dc6063 Mon Sep 17 00:00:00 2001 From: Nicolas Dorseuil Date: Thu, 6 Nov 2025 09:14:28 +0100 Subject: [PATCH] remove some logs --- .changeset/full-turkeys-rhyme.md | 5 +++++ integrations/gitlab/src/api.ts | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .changeset/full-turkeys-rhyme.md diff --git a/.changeset/full-turkeys-rhyme.md b/.changeset/full-turkeys-rhyme.md new file mode 100644 index 000000000..e68737fed --- /dev/null +++ b/.changeset/full-turkeys-rhyme.md @@ -0,0 +1,5 @@ +--- +'@gitbook/integration-gitlab': patch +--- + +remove useless logs diff --git a/integrations/gitlab/src/api.ts b/integrations/gitlab/src/api.ts index b24cdb5d4..c52eee4be 100644 --- a/integrations/gitlab/src/api.ts +++ b/integrations/gitlab/src/api.ts @@ -276,9 +276,8 @@ async function requestGitLab( url: URL, options: RequestInit = {}, ): Promise { - logger.debug(`GitLab API -> [${options.method}] ${url.toString()}`); - // Hardcoded test org, will need to switch to use Reflag for that. const useProxy = await shouldUseProxy(context); + logger.debug(`GitLab API -> [${options.method}] ${url.toString()}, using proxy: ${useProxy}`); const response = useProxy ? await proxyRequest(context, url.toString(), { ...options, @@ -380,7 +379,6 @@ export async function shouldUseProxy(context: GitLabRuntimeContext): Promise