Skip to content

Commit 8645242

Browse files
committed
Do not reconnect to cloud variable server on code 4003
1 parent 7f7bdc3 commit 8645242

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cloud-variables.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ class WebSocketProvider {
158158
console.log('Username is invalid; not reconnecting.');
159159
return;
160160
}
161+
if (e && e.code === 4003) {
162+
console.log('Cloud variable server is full; not reconnecting.');
163+
return;
164+
}
161165
if (e && e.code === 4004) {
162166
console.log('Project is blocked; not reconnecting.');
163167
return;

0 commit comments

Comments
 (0)