From: Brion Vibber Date: Sun, 21 Feb 2010 18:48:48 +0000 (-0800) Subject: OStatus: debug aid - log the received Salmon post when it can't be parsed properly... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=588fe5d603abe40c45a1147eba18c8b5143babc4;p=quix0rs-gnu-social.git OStatus: debug aid - log the received Salmon post when it can't be parsed properly as an --- diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php index abd8d4c833..4e5ed7fe6a 100644 --- a/plugins/OStatus/lib/salmonaction.php +++ b/plugins/OStatus/lib/salmonaction.php @@ -51,6 +51,7 @@ class SalmonAction extends Action if ($dom->documentElement->namespaceURI != Activity::ATOM || $dom->documentElement->localName != 'entry') { + common_log(LOG_DEBUG, "Got invalid Salmon post: $xml"); $this->clientError(_m('Salmon post must be an Atom entry.')); } // XXX: check the signature