]> Entropealabs - wampex_router.git/commitdiff
inspect
authorChristopher <chris@entropealabs.com>
Thu, 16 Apr 2020 13:31:38 +0000 (08:31 -0500)
committerChristopher <chris@entropealabs.com>
Thu, 16 Apr 2020 13:31:38 +0000 (08:31 -0500)
lib/router/session.ex

index 36be7f77a654a4fe7d1f88175a2b0338465d83ab..c0f12484e9688a821c365585aeadbee7185f0aef 100644 (file)
@@ -752,14 +752,14 @@ defmodule Wampex.Router.Session do
 
   defp get_live_callee(proxy, callees, index, tries) when is_list(callees) do
     {_id, {pid, node}} = c = Enum.at(callees, index)
-    Logger.info("Seeing if live callee #{pid} on node #{node} is up...")
+    Logger.info("Seeing if live callee #{inpsect(pid)} on node #{inspect(node)} is up...")
 
     case GenServer.call({proxy, node}, {:is_up, pid}) do
       true ->
         c
 
       false ->
-        Logger.error("#{pid} on #{node} is not live, trying next")
+        Logger.error("#{inspect(pid)} on #{inspect(node)} is not live, trying next")
 
         index =
           case index + 1 do