mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
pad: Pop up an error message dialog box upon socket.io error
This commit is contained in:
parent
5b887396c3
commit
a2554fff22
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ function handshake()
|
||||||
pad.collabClient.setStateIdle();
|
pad.collabClient.setStateIdle();
|
||||||
pad.collabClient.setIsPendingRevision(true);
|
pad.collabClient.setIsPendingRevision(true);
|
||||||
}
|
}
|
||||||
|
throw new Error(`socket.io connection error: ${JSON.stringify(error)}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
var initalized = false;
|
var initalized = false;
|
||||||
|
|
Loading…
Reference in a new issue