Better debugging.
authorRoger Braun <roger@rogerbraun.net>
Tue, 20 Jun 2017 15:28:36 +0000 (17:28 +0200)
committerRoger Braun <roger@rogerbraun.net>
Tue, 20 Jun 2017 15:28:36 +0000 (17:28 +0200)
lib/pleroma/web/websub/websub.ex

index 12edf094cce4c38b6e46cc6195702e107b7c1157..410303b7708620a5941c9b67ea69081ef04f2909 100644 (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, [