forked from AkkomaGang/akkoma
Better debugging.
This commit is contained in:
parent
07cee92cd4
commit
14d9de39e8
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def publish(topic, user, activity) do
|
||||||
|> to_string
|
|> to_string
|
||||||
|
|
||||||
signature = sign(sub.secret || "", response)
|
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 ->
|
Task.start(fn ->
|
||||||
with {:ok, %{status_code: code}} <- @httpoison.post(sub.callback, response, [
|
with {:ok, %{status_code: code}} <- @httpoison.post(sub.callback, response, [
|
||||||
|
|
Loading…
Reference in a new issue