mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: avoid returning 500 on apps when workspace stopped (#11656)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user