mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
refactor: bubble other errors
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user