File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @gitbook/integration-gitlab ' : patch
3+ ---
4+
5+ remove useless logs
Original file line number Diff line number Diff line change @@ -276,9 +276,8 @@ async function requestGitLab(
276276 url : URL ,
277277 options : RequestInit = { } ,
278278) : Promise < Response > {
279- logger . debug ( `GitLab API -> [${ options . method } ] ${ url . toString ( ) } ` ) ;
280- // Hardcoded test org, will need to switch to use Reflag for that.
281279 const useProxy = await shouldUseProxy ( context ) ;
280+ logger . debug ( `GitLab API -> [${ options . method } ] ${ url . toString ( ) } , using proxy: ${ useProxy } ` ) ;
282281 const response = useProxy
283282 ? await proxyRequest ( context , url . toString ( ) , {
284283 ...options ,
@@ -380,7 +379,6 @@ export async function shouldUseProxy(context: GitLabRuntimeContext): Promise<boo
380379
381380 return flag . isEnabled ;
382381 } catch ( e ) {
383- logger . debug ( 'Error checking Reflag feature flag:' , e ) ;
384382 return false ;
385383 }
386384}
You can’t perform that action at this time.
0 commit comments