Add debugging logs.
authorRoger Braun <roger@rogerbraun.net>
Thu, 4 May 2017 07:54:22 +0000 (09:54 +0200)
committerRoger Braun <roger@rogerbraun.net>
Thu, 4 May 2017 07:54:22 +0000 (09:54 +0200)
lib/pleroma/web/websub/websub.ex

index 0d0d19c889cd4e1ba66106a2463f3eb37c07c4d5..c1532b6ce4393123e4765a747ec1e23219d0e41a 100644 (file)
@@ -44,6 +44,7 @@ defmodule Pleroma.Web.Websub do
       |> to_string
 
       signature = sign(sub.secret, response)
+      Logger.debug("Pushing to #{sub.callback}")
       HTTPoison.post(sub.callback, response, [
             {"Content-Type", "application/atom+xml"},
             {"X-Hub-Signature", "sha1=#{signature}"}