Skip to content

Commit 950cd2e

Browse files
authored
Correct handle exceptions in legacy/broadcast
1 parent f039814 commit 950cd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/websockets/legacy/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,5 +1637,5 @@ def broadcast(
16371637
exc_info=True,
16381638
)
16391639

1640-
if raise_exceptions:
1640+
if raise_exceptions and exceptions:
16411641
raise ExceptionGroup("skipped broadcast", exceptions)

0 commit comments

Comments
 (0)