Better debugging.

This commit is contained in:
Roger Braun 2017-06-20 17:28:36 +02:00
parent 07cee92cd4
commit 14d9de39e8

View File

@ -50,7 +50,7 @@ defmodule Pleroma.Web.Websub do
|> to_string
signature = sign(sub.secret || "", response)
Logger.debug(fn -> "Pushing to #{sub.callback}" end)
Logger.debug(fn -> "Pushing #{topic} to #{sub.callback}" end)
Task.start(fn ->
with {:ok, %{status_code: code}} <- @httpoison.post(sub.callback, response, [