From d19ea6ac14e415cf1eb9e62eddda68fea866fd12 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sun, 6 Aug 2023 12:00:07 -0700 Subject: refactor: :loud_sound: log error on failure to start executable --- extension/src/activation/environmentSetup.ts | 1 + extension/src/commands.ts | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 1ca32841..3c8220c0 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -252,6 +252,7 @@ export async function startContinuePythonServer() { }); child.unref(); } catch (e: any) { + console.log("Error starting server:", e); retry(); } }; diff --git a/extension/src/commands.ts b/extension/src/commands.ts index cf6892f2..ea12699e 100644 --- a/extension/src/commands.ts +++ b/extension/src/commands.ts @@ -1,17 +1,8 @@ import * as vscode from "vscode"; import * as path from "path"; import * as os from "os"; -import { - acceptSuggestionCommand, - rejectSuggestionCommand, - suggestionDownCommand, - suggestionUpCommand, - acceptAllSuggestionsCommand, - rejectAllSuggestionsCommand, -} from "./suggestions"; import { acceptDiffCommand, rejectDiffCommand } from "./diffs"; -import * as bridge from "./bridge"; import { debugPanelWebview } from "./debugPanel"; import { ideProtocolClient } from "./activation/activate"; -- cgit v1.2.3-70-g09d2