Skip to content

Commit 33881ee

Browse files
committed
update
1 parent c2aac49 commit 33881ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ export class LspController {
222222
},
223223
{ interval: 1000, timeout: 60_000, truthy: true }
224224
)
225-
} finally {
226-
this._contextCommandSymbolsUpdated = false
225+
} catch (err) {
226+
getLogger().error(`LspController: Failed to find symbols`)
227227
}
228228
}
229229

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ export class ChatController {
541541
} else if (contextCommandItem.symbol) {
542542
symbolsCmd.children?.[0].commands.push({
543543
command: contextCommandItem.symbol.name,
544-
description: `${contextCommandItem.symbol.kind}, ${contextCommandItem.relativePath}, L${contextCommandItem.symbol.range.start.line}-${contextCommandItem.symbol.range.end.line}`,
544+
description: `${contextCommandItem.symbol.kind}, ${path.join(wsFolderName, contextCommandItem.relativePath)}, L${contextCommandItem.symbol.range.start.line}-${contextCommandItem.symbol.range.end.line}`,
545545
route: [contextCommandItem.workspaceFolder, contextCommandItem.relativePath],
546546
label: 'code' as ContextCommandItemType,
547547
id: contextCommandItem.id,

0 commit comments

Comments
 (0)