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 GitHub
parent f1087c7e87
commit af923fee8e

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();