Skip to content

Commit af923fe

Browse files
fix(WebSocketShard): bad error re-throw (#11151)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent f1087c7 commit af923fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/ws/src/ws/WebSocketShard.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
173173

174174
try {
175175
await promise;
176-
} catch ({ error }: any) {
177-
throw error;
178176
} finally {
179177
// cleanup hanging listeners
180178
controller.abort();

0 commit comments

Comments
 (0)