diff --git a/src/socket.io/index.js b/src/socket.io/index.js index 03380acfeb..aaaceb2010 100644 --- a/src/socket.io/index.js +++ b/src/socket.io/index.js @@ -94,6 +94,7 @@ async function onConnect(socket) { socket.emit('event:invalid_session'); return; } + throw e; } if (socket.uid) {