Log subscription error.
authorRoger Braun <roger@rogerbraun.net>
Mon, 1 May 2017 15:28:49 +0000 (17:28 +0200)
committerRoger Braun <roger@rogerbraun.net>
Mon, 1 May 2017 15:28:49 +0000 (17:28 +0200)
lib/pleroma/web/websub/websub.ex

index 63a91055a9081264e06dd662f3752656bfb59773..67055a116a0be47b5daa24b0a33f5522552ec672 100644 (file)
@@ -78,6 +78,9 @@ defmodule Pleroma.Web.Websub do
 
       {:ok, websub}
     else {:error, reason} ->
+      Logger.debug("Couldn't create subscription.")
+      Logger.debug(inspect(reason))
+
       {:error, reason}
     end
   end