From: Evan Prodromou Date: Mon, 22 Feb 2010 03:44:58 +0000 (-0500) Subject: Add error info for missing URI in attention X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=232b5efa7e5d2771ef50b8a5da90147bbff7af3f;p=quix0rs-gnu-social.git Add error info for missing URI in attention --- diff --git a/plugins/OStatus/actions/usersalmon.php b/plugins/OStatus/actions/usersalmon.php index 3c0f72855b..ca0370bb4e 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 {