Better debugging.
This commit is contained in:
parent
07cee92cd4
commit
14d9de39e8
@ -50,7 +50,7 @@ def publish(topic, user, activity) 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, [
|
||||
|
Loading…
Reference in New Issue
Block a user