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-11-10 13:04:07 +00:00
committed by Jiralite
co-authored by kodiakhq[bot]
parent be38128ea1
commit 6c781ede30
-2
View File
@@ -173,8 +173,6 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
try {
await promise;
} catch ({ error }: any) {
throw error;
} finally {
// cleanup hanging listeners
controller.abort();