From 051aec531b4a23ad84ad57a5685242ad16998457 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sat, 2 Nov 2024 21:57:57 -0500 Subject: [PATCH] Do not reconnect to cloud variable server on code 4003 --- src/scaffolding/cloud.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scaffolding/cloud.js b/src/scaffolding/cloud.js index f62bf51..acb33a3 100644 --- a/src/scaffolding/cloud.js +++ b/src/scaffolding/cloud.js @@ -158,6 +158,10 @@ class WebSocketProvider { console.log('Username is invalid; not reconnecting.'); return; } + if (e && e.code === 4003) { + console.log('Cloud variable server is full; not reconnecting.'); + return; + } if (e && e.code === 4004) { console.log('Project is blocked; not reconnecting.'); return;