Skip to content

Node.js based forum software built for the modern web

refactor: bubble other errors

Barış Soner Uşaklı0096cf178a7e
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) {