X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fleavegroup.php;h=b8aaf83d20d737ec54faad176680873ef893f44d;hb=c2db2483a0e315f0050710bf6f224b2be3290039;hp=9e560b971721a452b5c7ba668ff682562f8b668b;hpb=87d46e1ae5e5effcc985021ff5af3f10815f3d3c;p=quix0rs-gnu-social.git diff --git a/actions/leavegroup.php b/actions/leavegroup.php index 9e560b9717..b8aaf83d20 100644 --- a/actions/leavegroup.php +++ b/actions/leavegroup.php @@ -125,6 +125,7 @@ class LeavegroupAction extends Action try { $cur->leaveGroup($this->group); } catch (Exception $e) { + common_log(LOG_ERR, "Error when {$cur->nickname} tried to leave {$this->group->nickname}: " . $e->getMessage()); // TRANS: Server error displayed when leaving a group failed in the database. // TRANS: %1$s is the leaving user's nickname, $2$s is the group nickname for which the leave failed. $this->serverError(sprintf(_('Could not remove user %1$s from group %2$s.'),