summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-21 22:44:58 -0500
committerEvan Prodromou <evan@status.net>2010-02-21 22:44:58 -0500
commit232b5efa7e5d2771ef50b8a5da90147bbff7af3f (patch)
tree636f19885ae9578e3f66c37dbb56bed3297d451d
parent13fb7bef783faae497069485546b92b897662987 (diff)
Add error info for missing URI in attention
-rw-r--r--plugins/OStatus/actions/usersalmon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php
index 3c0f72855..ca0370bb4 100644
--- a/plugins/OStatus/actions/usersalmon.php
+++ b/plugins/OStatus/actions/usersalmon.php
@@ -81,6 +81,7 @@ class UsersalmonAction extends SalmonAction
}
} else if (!empty($context->attention)) {
if (!in_array($this->user->uri, $context->attention)) {
+ common_log(LOG_ERR, "{$this->user->uri} not in attention list (".implode(',', $context->attention).")");
throw new ClientException("To the attention of user(s) not including this one!");
}
} else {