Skip to content

Commit ed8b4f6

Browse files
authored
fix(amazonq): wrong path in the logs for the function (aws#1978)
1 parent d0a0cc8 commit ed8b4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/aws-lsp-codewhisperer/src/language-server/agenticChat/context/agenticChatTriggerContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export class AgenticChatTriggerContext {
342342
const content = await this.#workspace.fs.readFile(URI.parse(uri).fsPath)
343343
return TextDocument.create(uri, '', 0, content)
344344
} catch (err) {
345-
this.#logging.error(`Unable to load from ${path}: ${err}`)
345+
this.#logging.error(`Unable to load from ${uri}: ${err}`)
346346
return
347347
}
348348
}

0 commit comments

Comments
 (0)