summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-12-20 10:46:23 -0800
committerBrion Vibber <brion@pobox.com>2010-12-20 10:48:02 -0800
commitdd48bdb1c41986b68f8c855728a9285bb22c916e (patch)
tree3696c7f3ad54a7f891ffebd6b9768ff56044a48e /plugins
parent39cad55711897323fac5f651c003c4d815a51ae0 (diff)
Logging helper for bogus hmacs on PuSH in -- record the url & hub with the err msg to help tell what broke
Diffstat (limited to 'plugins')
-rw-r--r--plugins/OStatus/classes/FeedSub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php
index 140f32384..b34d7cd85 100644
--- a/plugins/OStatus/classes/FeedSub.php
+++ b/plugins/OStatus/classes/FeedSub.php
@@ -487,7 +487,7 @@ class FeedSub extends Memcached_DataObject
if ($their_hmac === $our_hmac) {
return true;
}
- common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac");
+ common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bad SHA-1 HMAC: got $their_hmac, expected $our_hmac for feed $this->uri on $this->huburi");
} else {
common_log(LOG_ERR, __METHOD__ . ": ignoring PuSH with bogus HMAC '$hmac'");
}