Skip to content

Commit

Permalink
fix: check for failed state to prevent infinite wait
Browse files Browse the repository at this point in the history
  • Loading branch information
smorrisj committed Oct 11, 2023
1 parent 5c22fa8 commit 4f80247
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/connection/rest/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export class ComputeSession extends Compute {
"warning",
"completed",
"idle",
"failed",
];

while (states.indexOf(state) === -1) {
Expand Down

0 comments on commit 4f80247

Please sign in to comment.