Skip to content

Commit

Permalink
Do not reconnect to cloud variable server on code 4003
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Nov 3, 2024
1 parent 22470fc commit 051aec5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scaffolding/cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 051aec5

Please sign in to comment.