Skip to content

Commit

Permalink
Merge pull request #3604 from continuedev/nate/fix-error-logging
Browse files Browse the repository at this point in the history
don't show all webview message errors
  • Loading branch information
sestinj authored Jan 4, 2025
2 parents 8342311 + 723a75c commit aa02e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "continue",
"icon": "media/icon.png",
"author": "Continue Dev, Inc",
"version": "0.9.249",
"version": "0.9.250",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"
Expand Down
21 changes: 1 addition & 20 deletions extensions/vscode/src/webviewProtocol.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FromWebviewProtocol, ToWebviewProtocol } from "core/protocol";
import { Message } from "core/protocol/messenger";
import { WebviewMessengerResult } from "core/protocol/util";
import { extractMinimalStackTraceInfo } from "core/util/extractMinimalStackTraceInfo";
import { Message } from "core/protocol/messenger";
import { Telemetry } from "core/util/posthog";
import { v4 as uuidv4 } from "uuid";
import * as vscode from "vscode";
Expand Down Expand Up @@ -140,25 +140,6 @@ export class VsCodeWebviewProtocol
},
false,
);
vscode.window
.showErrorMessage(
message.split("\n\n")[0],
"Show Logs",
"Troubleshooting",
)
.then((selection) => {
if (selection === "Show Logs") {
vscode.commands.executeCommand(
"workbench.action.toggleDevTools",
);
} else if (selection === "Troubleshooting") {
vscode.env.openExternal(
vscode.Uri.parse(
"https://docs.continue.dev/troubleshooting",
),
);
}
});
}
}
}
Expand Down

0 comments on commit aa02e0b

Please sign in to comment.