Log subscription error.

This commit is contained in:
Roger Braun 2017-05-01 17:28:49 +02:00
parent 108573265a
commit 1854842b09

View file

@ -78,6 +78,9 @@ def incoming_subscription_request(user, %{"hub.mode" => "subscribe"} = params) d
{:ok, websub} {:ok, websub}
else {:error, reason} -> else {:error, reason} ->
Logger.debug("Couldn't create subscription.")
Logger.debug(inspect(reason))
{:error, reason} {:error, reason}
end end
end end