Skip to content

Commit

Permalink
reword internal error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Sep 2, 2024
1 parent 5560766 commit a9f14a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trio_websocket/_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ async def close_connection(connection: WebSocketConnection) -> None:
raise user_error from e

raise TrioWebsocketInternalError(
"Multiple internal exceptions should not be possible. "
"The trio-websocket API is not expected to raise multiple exceptions. "
"Please report this as a bug to "
"https://github.com/python-trio/trio-websocket"
) from e # pragma: no cover
Expand Down

0 comments on commit a9f14a1

Please sign in to comment.