From 0096cf178a7ec48c9764be0d5baa78acdac30e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 10 May 2021 11:34:54 -0400 Subject: [PATCH] refactor: bubble other errors --- src/socket.io/index.js | 1 + 1 file changed, 1 insertion(+) 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) {