Log subscription error.
This commit is contained in:
parent
108573265a
commit
1854842b09
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue