]> Entropealabs - wampex_router.git/commitdiff
use inspect for error logging
authorChristopher Coté <chris@entropealabs.com>
Tue, 7 Dec 2021 16:44:59 +0000 (11:44 -0500)
committerChristopher Coté <chris@entropealabs.com>
Tue, 7 Dec 2021 16:44:59 +0000 (11:44 -0500)
lib/router/realms/session.ex

index ce7402d91a126c1949035fd61cf8a30b97530cf5..68988098bd51f1e5a8f04877bd2c59aa682f9e8e 100644 (file)
@@ -69,7 +69,7 @@ defmodule Wampex.Router.Realms.Session do
         remove_val(sub, subscriptions)
 
       _ ->
-        Logger.error("Unable to unsubscribe #{id} not present in subscriptions: #{subscriptions}")
+        Logger.error("Unable to unsubscribe #{id} not present in subscriptions: #{inspect(subscriptions)}")
         subscriptions
     end
   end