mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36: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');
|
||||
return;
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
||||
if (socket.uid) {
|
||||
|
||||
Reference in New Issue
Block a user