fix: avoid returning 500 on apps when workspace stopped (#11656)

This commit is contained in:
Jon Ayers
2024-01-17 12:06:59 -06:00
committed by GitHub
parent 1be119b08f
commit 552e9fe22f
5 changed files with 61 additions and 2 deletions
+2 -1
View File
@@ -191,7 +191,8 @@ const TerminalPage: FC = () => {
return;
} else if (!workspaceAgent) {
terminal.writeln(
Language.workspaceAgentErrorMessagePrefix + "no agent found with ID",
Language.workspaceAgentErrorMessagePrefix +
"no agent found with ID, is the workspace started?",
);
return;
}