Add an exception on remote group join

This commit is contained in:
Evan Prodromou 2012-07-04 15:12:08 -04:00
parent 46f6b2c119
commit 7e60bb04e5
1 changed files with 1 additions and 0 deletions

View 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;