]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add error info for missing URI in attention
authorEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 03:44:58 +0000 (22:44 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 03:44:58 +0000 (22:44 -0500)
plugins/OStatus/actions/usersalmon.php

index 3c0f72855b9c9bc5489c6470a99f8a7b05552c13..ca0370bb4e7dcc29f6549e2466a524e1f9706cf8 100644 (file)
@@ -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 {