aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/xtext/webSocketMachine.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/xtext/webSocketMachine.ts')
-rw-r--r--subprojects/frontend/src/xtext/webSocketMachine.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/src/xtext/webSocketMachine.ts b/subprojects/frontend/src/xtext/webSocketMachine.ts
index 5f6bc604..216ed86a 100644
--- a/subprojects/frontend/src/xtext/webSocketMachine.ts
+++ b/subprojects/frontend/src/xtext/webSocketMachine.ts
@@ -205,7 +205,7 @@ export default createMachine(
205 ERROR_WAIT_TIME: ({ errors: { length: retryCount } }) => { 205 ERROR_WAIT_TIME: ({ errors: { length: retryCount } }) => {
206 const { length } = ERROR_WAIT_TIMES; 206 const { length } = ERROR_WAIT_TIMES;
207 const index = retryCount < length ? retryCount : length - 1; 207 const index = retryCount < length ? retryCount : length - 1;
208 return ERROR_WAIT_TIMES[index]; 208 return ERROR_WAIT_TIMES[index] ?? 0;
209 }, 209 },
210 }, 210 },
211 actions: { 211 actions: {