Add an exception on remote group join
This commit is contained in:
parent
46f6b2c119
commit
7e60bb04e5
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user