Log subscription error.

This commit is contained in:
Roger Braun 2017-05-01 17:28:49 +02:00
parent 108573265a
commit 1854842b09
1 changed files with 3 additions and 0 deletions

View File

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