attempt to fix the ws crash, #3374

pull/255/head
zadam 2022-12-07 23:58:22 +07:00
parent 0d06d5ccee
commit 128023d34e
1 changed files with 5 additions and 0 deletions

@ -53,6 +53,11 @@ function init(httpServer, sessionParser) {
}
});
});
webSocketServer.on('error', error => {
// https://github.com/zadam/trilium/issues/3374#issuecomment-1341053765
console.log(error);
});
}
function sendMessage(client, message) {