diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-21 10:48:48 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-21 10:48:48 -0800 |
commit | 588fe5d603abe40c45a1147eba18c8b5143babc4 (patch) | |
tree | b59856b3937b36cb8838a621c61e03fdeeaf21a2 /plugins/OStatus | |
parent | de093537f6c7f3b83817146247fbd9edbed16935 (diff) |
OStatus: debug aid - log the received Salmon post when it can't be parsed properly as an <atom:entry>
Diffstat (limited to 'plugins/OStatus')
-rw-r--r-- | plugins/OStatus/lib/salmonaction.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php index abd8d4c83..4e5ed7fe6 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 |