Do not reconnect to cloud variable server on code 4003
Some checks failed
Build / build (push) Has been cancelled
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
Thomas Weber 2024-11-02 21:57:57 -05:00
parent 22470fcce5
commit 051aec531b

View File

@ -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;