Merge pull request #3481 from continuedev/nate/quick-edit-c96a

remove noisy logs
This commit is contained in:
Nate Sesti 2024-12-20 18:02:14 -08:00 • committed by GitHub
commit f2606a4f0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View file

@ -105,9 +105,6 @@ class MCPConnection {
try {
await this.connectPromise;
} catch (error) {
// Handle connection error if needed
throw error;
} finally {
// Reset the promise so future attempts can try again if necessary
this.connectPromise = null;
@ -133,7 +130,6 @@ class MCPConnection {
throw new Error("Operation aborted");
}
if (!error.message.startsWith("StdioClientTransport already started")) {
console.error("Failed to connect client:", error);
return {
fatal: false,
message: `Failed to connect to MCP ${mcpId}: ${error.message}`,

View file

@ -228,7 +228,6 @@ export class CodeSnippetsCodebaseIndex implements CodebaseIndex {
);
} catch (e) {
// If can't parse, assume malformatted code
console.error(`Error parsing ${compute.path}:`, e);
}
// Add snippets to sqlite
@ -293,7 +292,6 @@ export class CodeSnippetsCodebaseIndex implements CodebaseIndex {
);
} catch (e) {
// If can't parse, assume malformatted code
console.error(`Error parsing ${addTag.path}:`, e);
}
for (const snippet of snippets) {