Skip to content

Commit

Permalink
Correct handle exceptions in legacy/broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
ABCurado authored and aaugustin committed Jul 21, 2024
1 parent e05f6dc commit 61b69db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/websockets/legacy/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1630,5 +1630,5 @@ def broadcast(
exc_info=True,
)

if raise_exceptions:
if raise_exceptions and exceptions:
raise ExceptionGroup("skipped broadcast", exceptions)

0 comments on commit 61b69db

Please sign in to comment.