File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -270,26 +270,12 @@ async function onLanguageServerReady(
270270 // Function to attempt connection
271271 const attemptConnection = ( attempt : number = 1 ) : void => {
272272 const autoDebugFeature = ( global as any ) . autoDebugFeature as AutoDebugFeature | undefined
273- getLogger ( 'amazonqLsp' ) . debug (
274- 'AutoDebug feature connection attempt %d: %s' ,
275- attempt ,
276- autoDebugFeature ? 'found' : 'not found'
277- )
278273
279274 if ( autoDebugFeature ) {
280- getLogger ( 'amazonqLsp' ) . debug ( 'Setting language client and encryption key on AutoDebug feature' )
281275 autoDebugFeature . setLanguageClient ( client , encryptionKey )
282- getLogger ( 'amazonqLsp' ) . info (
283- 'AutoDebug feature connected to language client with encryption key successfully'
284- )
285276 } else if ( attempt < 5 ) {
286277 // Retry up to 5 times with exponential backoff
287278 const delay = Math . min ( 1000 * Math . pow ( 2 , attempt - 1 ) , 10000 ) // Max 10 seconds
288- getLogger ( 'amazonqLsp' ) . debug (
289- 'AutoDebug feature not found, retrying in %dms (attempt %d/5)' ,
290- delay ,
291- attempt + 1
292- )
293279 setTimeout ( ( ) => attemptConnection ( attempt + 1 ) , delay )
294280 } else {
295281 getLogger ( 'amazonqLsp' ) . error (
You can’t perform that action at this time.
0 commit comments