Skip to content

Commit aa02e0b

Browse files
authored
Merge pull request #3604 from continuedev/nate/fix-error-logging
don't show all webview message errors
2 parents 8342311 + 723a75c commit aa02e0b

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "continue",
33
"icon": "media/icon.png",
44
"author": "Continue Dev, Inc",
5-
"version": "0.9.249",
5+
"version": "0.9.250",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/continuedev/continue"

extensions/vscode/src/webviewProtocol.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FromWebviewProtocol, ToWebviewProtocol } from "core/protocol";
2+
import { Message } from "core/protocol/messenger";
23
import { WebviewMessengerResult } from "core/protocol/util";
34
import { extractMinimalStackTraceInfo } from "core/util/extractMinimalStackTraceInfo";
4-
import { Message } from "core/protocol/messenger";
55
import { Telemetry } from "core/util/posthog";
66
import { v4 as uuidv4 } from "uuid";
77
import * as vscode from "vscode";
@@ -140,25 +140,6 @@ export class VsCodeWebviewProtocol
140140
},
141141
false,
142142
);
143-
vscode.window
144-
.showErrorMessage(
145-
message.split("\n\n")[0],
146-
"Show Logs",
147-
"Troubleshooting",
148-
)
149-
.then((selection) => {
150-
if (selection === "Show Logs") {
151-
vscode.commands.executeCommand(
152-
"workbench.action.toggleDevTools",
153-
);
154-
} else if (selection === "Troubleshooting") {
155-
vscode.env.openExternal(
156-
vscode.Uri.parse(
157-
"https://docs.continue.dev/troubleshooting",
158-
),
159-
);
160-
}
161-
});
162143
}
163144
}
164145
}

0 commit comments

Comments
 (0)