Skip to content

Commit ce9e70a

Browse files
ndemiancCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 1a968f2 commit ce9e70a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

extensions/levelcode-ai/extension.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,11 @@ function captureSelection() {
435435
*/
436436
function focusChatView(why) {
437437
return Promise.resolve(vscode.commands.executeCommand('levelcodeAi.chat.focus'))
438-
.then(undefined, (e) => dbg('chat.focus.failed', { why, msg: String((e && e.message) || e) }));
438+
.then(undefined, (e) => {
439+
const msg = String((e && e.message) || e);
440+
console.warn('[levelcode-ai] chat.focus.failed', { why, msg });
441+
dbg('chat.focus.failed', { why, msg });
442+
});
439443
}
440444

441445
function addSelection() {

0 commit comments

Comments
 (0)