silence a few more routine websocket errors
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…
Reference in New Issue