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

pull/4425/head
Richard Hansen 2020-10-19 14:12:09 -04:00 committed by John McLear
parent 5b887396c3
commit a2554fff22
1 changed files with 1 additions and 0 deletions

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;