Skip to content

Commit 61b69db

Browse files
ABCuradoaaugustin
authored andcommitted
Correct handle exceptions in legacy/broadcast
1 parent e05f6dc commit 61b69db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/websockets/legacy/protocol.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1630,5 +1630,5 @@ def broadcast(
16301630
exc_info=True,
16311631
)
16321632

1633-
if raise_exceptions:
1633+
if raise_exceptions and exceptions:
16341634
raise ExceptionGroup("skipped broadcast", exceptions)

0 commit comments

Comments
 (0)