fix(WebSocketShard): bad error re-throw (#11151)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Denis-Adrian Cristea
2025-10-07 12:59:40 +03:00
committed by Jiralite
parent be38128ea1
commit 6c781ede30

View File

@@ -173,8 +173,6 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
try { try {
await promise; await promise;
} catch ({ error }: any) {
throw error;
} finally { } finally {
// cleanup hanging listeners // cleanup hanging listeners
controller.abort(); controller.abort();