refactor: bubble other errors

v1.18.x
Barış Soner Uşaklı 4 years ago
parent a9bb108802
commit 0096cf178a

@ -94,6 +94,7 @@ async function onConnect(socket) {
socket.emit('event:invalid_session'); socket.emit('event:invalid_session');
return; return;
} }
throw e;
} }
if (socket.uid) { if (socket.uid) {

Loading…
Cancel
Save