Skip to content

Commit

Permalink
cleaner error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed May 29, 2024
1 parent 78ec8ef commit 9702e6d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extensions/vscode/src/webviewProtocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ export class VsCodeWebviewProtocol
});
} else {
vscode.window
.showErrorMessage(message, "Show Logs", "Troubleshooting")
.showErrorMessage(
message.split("\n\n")[0],
"Show Logs",
"Troubleshooting",
)
.then((selection) => {
if (selection === "Show Logs") {
vscode.commands.executeCommand(
Expand Down

0 comments on commit 9702e6d

Please sign in to comment.