Skip to content

Commit 023bae6

Browse files
committed
fix log issue
1 parent 85f407a commit 023bae6

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

packages/core/src/codewhisperer/activation.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -494,29 +494,9 @@ export async function activate(context: ExtContext): Promise<void> {
494494

495495
// Store the feature instance for later LSP connection
496496
;(global as any).autoDebugFeature = autoDebugFeature
497-
getLogger().debug('AutoDebug feature stored in global reference')
498-
499-
// Verify storage immediately
500-
const storedFeature = (global as any).autoDebugFeature
501-
if (storedFeature) {
502-
getLogger().debug('AutoDebug feature verification: successfully stored in global reference')
503-
504-
// Additional verification - check if it has the expected methods
505-
if (typeof storedFeature.setLanguageClient === 'function') {
506-
getLogger().debug('AutoDebug feature verification: setLanguageClient method available')
507-
} else {
508-
getLogger().warn('AutoDebug feature verification: setLanguageClient method NOT available')
509-
}
510-
} else {
511-
getLogger().error('AutoDebug feature verification: NOT found in global reference after storage attempt')
512-
}
513-
514497
// Add the feature to extension subscriptions for proper cleanup
515498
context.extensionContext.subscriptions.push(autoDebugFeature)
516-
getLogger().debug('AutoDebug feature added to extension subscriptions')
517499
} catch (error) {
518-
getLogger().error('Failed to activate AutoDebug feature: %s', error)
519-
// Don't throw the error to prevent extension activation failure
520500
getLogger().warn('Continuing extension activation despite AutoDebug feature failure')
521501
}
522502
}

toolsForBuild.backup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 45195aa43333c788cfb81bc540467ad25397919c

0 commit comments

Comments
 (0)