Skip to content

Commit

Permalink
Implement fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leszekhanusz committed Jul 14, 2024
1 parent 3c91b2f commit 3a1594b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gql/transport/websockets_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,11 @@ async def connect(self) -> None:
await self._initialize()
except ConnectionClosed as e:
raise e
except (TransportProtocolError, asyncio.TimeoutError) as e:
except (
TransportProtocolError,
TransportServerError,
asyncio.TimeoutError,
) as e:
await self._fail(e, clean_close=False)
raise e

Expand Down

0 comments on commit 3a1594b

Please sign in to comment.