silence a few more routine websocket errors

pull/1/head
ansuz 5 years ago
parent 492e9496c8
commit ad08fe0c08

@ -23,7 +23,7 @@ module.exports.create = function (config) {
});
}
if (reason && reason === 'SOCKET_CLOSED') { return; }
if (['SOCKET_CLOSED', 'SOCKET_ERROR'].indexOf(reason)) { return; }
log.verbose('SESSION_CLOSE_ROUTINE', {
userId: userId,
reason: reason,

Loading…
Cancel
Save