Skip to content

Commit

Permalink
chore: do not log unexpected payload
Browse files Browse the repository at this point in the history
  • Loading branch information
tlux committed Mar 29, 2024
1 parent c5a271c commit adf2906
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/graphql_ws_client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,8 @@ defmodule GraphQLWSClient do
end
end

def handle_info(msg, state) do
Logger.debug(format_log("Ignored unexpected payload: #{inspect(msg)}"))

def handle_info(_msg, state) do
# ignore unexpected payload
{:noreply, state}
end

Expand Down

0 comments on commit adf2906

Please sign in to comment.