diff --git a/src/services/ws.js b/src/services/ws.js index 4581e8942..4a6d8ce90 100644 --- a/src/services/ws.js +++ b/src/services/ws.js @@ -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) {