mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 12:39:51 +08:00
clearer WS error message
This commit is contained in:
parent
5350496ed4
commit
f98fa4098f
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ function connectWebSocket() {
|
|||
|
||||
async function sendPing() {
|
||||
if (Date.now() - lastPingTs > 30000) {
|
||||
console.log(utils.now(), "Lost connection to server");
|
||||
console.log(utils.now(), "Lost websocket connection to the backend");
|
||||
}
|
||||
|
||||
if (ws.readyState === ws.OPEN) {
|
||||
|
|
Loading…
Reference in a new issue