Throw exception again

This commit is contained in:
Unrud 2022-02-23 21:11:24 +01:00
parent 90922d85c6
commit d6b75771c3

View file

@ -579,9 +579,8 @@ window.addEventListener("load", function() {
try { try {
config = JSON.parse(evt.data); config = JSON.parse(evt.data);
} catch (e) { } catch (e) {
console.log(e);
ws.close(); ws.close();
return; throw (e);
} }
ready = true; ready = true;
updateUI(); updateUI();