MCPcopy
hub / github.com/PowerShell/vscode-powershell / setSessionFailedOpenBug

Method setSessionFailedOpenBug

src/session.ts:1267–1279  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1265 }
1266
1267 private async setSessionFailedOpenBug(message: string): Promise<void> {
1268 this.setSessionStatus("Startup Error!", SessionStatus.Failed);
1269 await this.logger.writeAndShowErrorWithActions(message, [
1270 {
1271 prompt: "Open an Issue",
1272 action: async (): Promise<void> => {
1273 await vscode.commands.executeCommand(
1274 "PowerShell.GenerateBugReport",
1275 );
1276 },
1277 },
1278 ]);
1279 }
1280
1281 private async setSessionFailedGetPowerShell(
1282 message: string,

Callers 4

startMethod · 0.95
handleFailedProcessMethod · 0.95
sessionStartedMethod · 0.95
startLanguageClientMethod · 0.95

Calls 2

setSessionStatusMethod · 0.95

Tested by

no test coverage detected