diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-14 13:54:40 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-14 13:54:40 -0700 |
commit | aa33c32813d11f980802004e2e4ee37a0891b061 (patch) | |
tree | be19f1639b546fc912580ad22d4595d67c954d1d | |
parent | efb39b7b90874802c72a586d9b83a95b8b194937 (diff) | |
download | sncontinue-aa33c32813d11f980802004e2e4ee37a0891b061.tar.gz sncontinue-aa33c32813d11f980802004e2e4ee37a0891b061.tar.bz2 sncontinue-aa33c32813d11f980802004e2e4ee37a0891b061.zip |
more logging
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 489bb093..fc09a04d 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -209,6 +209,7 @@ export async function startContinuePythonServer(redownload: boolean = true) { ); console.log("Downloaded server executable at ", destination); } + console.log("4"); // Get name of the corresponding executable for platform if (os.platform() === "darwin") { @@ -220,10 +221,12 @@ export async function startContinuePythonServer(redownload: boolean = true) { fs.chmodSync(destination, 0o7_5_5); } + console.log("5"); // Validate that the file exists if (!fs.existsSync(destination)) { const errText = `- Failed to install Continue server.`; vscode.window.showErrorMessage(errText); + console.log("6: throwing error message: ", errText); throw new Error(errText); } |