From 4f802475afaea17d1faddcefec3e2203eda7aaf8 Mon Sep 17 00:00:00 2001 From: Joe Morris Date: Wed, 11 Oct 2023 12:46:19 -0400 Subject: [PATCH] fix: check for failed state to prevent infinite wait --- client/src/connection/rest/session.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/connection/rest/session.ts b/client/src/connection/rest/session.ts index d5c033226..a89ab1ad6 100644 --- a/client/src/connection/rest/session.ts +++ b/client/src/connection/rest/session.ts @@ -204,6 +204,7 @@ export class ComputeSession extends Compute { "warning", "completed", "idle", + "failed", ]; while (states.indexOf(state) === -1) {