refactor: bubble other errors

This commit is contained in:
Barış Soner Uşaklı
2021-05-10 11:34:54 -04:00
parent a9bb108802
commit 0096cf178a

View File

@@ -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) {