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

View File

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