]> Entropealabs - wampex_client.git/commitdiff
don't filter all of the invocations
authorChristopher <chris@entropealabs.com>
Tue, 17 Mar 2020 20:23:02 +0000 (15:23 -0500)
committerChristopher <chris@entropealabs.com>
Tue, 17 Mar 2020 20:23:02 +0000 (15:23 -0500)
lib/router/session.ex

index 0cd1023353e03d26858c1bfb9629fd7545d8bf48..30bcc59fcfabb48b7c7e19dfdad92224567dea68 100644 (file)
@@ -495,14 +495,14 @@ defmodule Wampex.Router.Session do
         )
 
       nil ->
-        Logger.error("No invocation for #{id} #{inspect(arg_kw)}")
+        Logger.error("No invocation in #{inspect(inv)} for #{id} #{inspect(arg_kw)}")
         :noop
     end
 
     inv =
       Enum.filter(inv, fn
         {_, %Invocation{request_id: ^id}, _} -> false
-        _ -> false
+        _ -> true
       end)
 
     {:ok, %SL{data | data: %Sess{data.data | invocations: inv}},