From 1e81182e7a0402f01ac2475b66fa1ccb1aa51353 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 28 Jul 2023 19:32:45 -0700 Subject: refactor: :label: make HighlightedCodeContextProvider a subclass of ContextProvider --- extension/src/activation/environmentSetup.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extension/src') diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 04bcd0b6..50a2783a 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -470,7 +470,6 @@ export async function startContinuePythonServer() { shell: true, }); child.stderr.on("data", (data: any) => { - console.log(`stdout: ${data}`); if ( data.includes("Uvicorn running on") || // Successfully started the server data.includes("only one usage of each socket address") || // [windows] The server is already running (probably a simultaneously opened VS Code window) @@ -480,6 +479,8 @@ export async function startContinuePythonServer() { resolve(null); } else if (data.includes("ERROR") || data.includes("Traceback")) { console.log("Error starting Continue python server: ", data); + } else { + console.log(`stdout: ${data}`); } }); child.on("error", (error: any) => { -- cgit v1.2.3-70-g09d2