summaryrefslogtreecommitdiff
path: root/extension/src
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-06 12:00:07 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-06 12:00:07 -0700
commitd19ea6ac14e415cf1eb9e62eddda68fea866fd12 (patch)
treeb7f8c66a5ff5c1fe580895d146458357584a4911 /extension/src
parentb018c473fd7d68c53a6e97f4e48a1199efd758ad (diff)
downloadsncontinue-d19ea6ac14e415cf1eb9e62eddda68fea866fd12.tar.gz
sncontinue-d19ea6ac14e415cf1eb9e62eddda68fea866fd12.tar.bz2
sncontinue-d19ea6ac14e415cf1eb9e62eddda68fea866fd12.zip
refactor: :loud_sound: log error on failure to start executable
Diffstat (limited to 'extension/src')
-rw-r--r--extension/src/activation/environmentSetup.ts1
-rw-r--r--extension/src/commands.ts9
2 files changed, 1 insertions, 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";