       :ignore -> :ignore
 
       result ->
-        Logger.error fn -> """
-            Expected `#{inspect socket.channel}.join/3` to return `{:ok, socket} | :ignore}`,
-            got #{inspect result}
-          """
-        end
         {:stop, {:badarg, result}}
     end
   end

    GenServer.start_link(__MODULE__, [socket, auth_payload])
  end

  def init([socket, auth_payload]) do
    case socket.channel.join(socket.topic, auth_payload, socket) do
      {:ok, socket} ->

defmodule Phoenix.Channel.Server do
  use GenServer
  alias Phoenix.PubSub

  @moduledoc """
