Skip to content

Commit

Permalink
Delete optimized away else
Browse files Browse the repository at this point in the history
  • Loading branch information
leszekhanusz committed Nov 16, 2024
1 parent c264028 commit 2baf28a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gql/transport/phoenix_channel_websockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,8 @@ def _validate_data_response(d: Any, label: str) -> dict:

elif status == "timeout":
raise TransportQueryError("reply timeout", query_id=answer_id)
else:
# missing or unrecognized status, just continue
pass

# In case of missing or unrecognized status, just continue

elif event == "phx_error":
# Sent if the channel has crashed
Expand Down

0 comments on commit 2baf28a

Please sign in to comment.