forked from GNUsocial/gnu-social
Add a trace, too
This commit is contained in:
parent
7e60bb04e5
commit
d5564fb8d8
@ -147,6 +147,7 @@ class OStatusGroupAction extends OStatusSubAction
|
|||||||
$user->joinGroup($group);
|
$user->joinGroup($group);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
common_log(LOG_ERR, "Exception on remote group join: " . $e->getMessage());
|
common_log(LOG_ERR, "Exception on remote group join: " . $e->getMessage());
|
||||||
|
common_log(LOG_ERR, $e->getTraceAsString());
|
||||||
// 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…
x
Reference in New Issue
Block a user