]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add an exception on remote group join
authorEvan Prodromou <evan@status.net>
Wed, 4 Jul 2012 19:12:08 +0000 (15:12 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 4 Jul 2012 19:12:08 +0000 (15:12 -0400)
plugins/OStatus/actions/ostatusgroup.php

index e2c4121c3f5b04d6cee91a443fedd8e0df6122f7..e5ed21bbf51c6036e4f799cb830a5b91abf83aa3 100644 (file)
@@ -146,6 +146,7 @@ class OStatusGroupAction extends OStatusSubAction
         try {
             $user->joinGroup($group);
         } catch (Exception $e) {
+            common_log(LOG_ERR, "Exception on remote group join: " . $e->getMessage());
             // TRANS: OStatus remote group subscription dialog error.
             $this->showForm(_m('Remote group join failed!'));
             return;