Commit 14d9de39 authored by lain's avatar lain
Browse files

Better debugging.

parent 07cee92c
......@@ -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, [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment