From 54af9e145a3311c25dd335b0991d74773f5cbd0d Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 2 Aug 2017 12:03:45 +0200 Subject: [PATCH] Add some debug info to websub. --- lib/pleroma/web/websub/websub_controller.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pleroma/web/websub/websub_controller.ex b/lib/pleroma/web/websub/websub_controller.ex index 188144a88..6c9164ec8 100644 --- a/lib/pleroma/web/websub/websub_controller.ex +++ b/lib/pleroma/web/websub/websub_controller.ex @@ -20,6 +20,8 @@ defmodule Pleroma.Web.Websub.WebsubController do # TODO: Extract this into the Websub module def websub_subscription_confirmation(conn, %{"id" => id, "hub.mode" => "subscribe", "hub.challenge" => challenge, "hub.topic" => topic} = params) do + Logger.debug("Got websub confirmation") + Logger.debug(inspect(params)) lease_seconds = if params["hub.lease_seconds"] do String.to_integer(params["hub.lease_seconds"]) else -- 2.45.2