pad: Pop up an error message dialog box upon socket.io error

This commit is contained in:
Richard Hansen 2020-10-19 14:12:09 -04:00 committed by John McLear
parent 5b887396c3
commit a2554fff22

View file

@ -220,6 +220,7 @@ function handshake()
pad.collabClient.setStateIdle();
pad.collabClient.setIsPendingRevision(true);
}
throw new Error(`socket.io connection error: ${JSON.stringify(error)}`);
});
var initalized = false;