return true;
}
- $this->log(LOG_INFO, "Checking {$activity->id} as a valid Salmon slap.");
+ $this->log(LOG_INFO, get_called_class()." checking {$activity->id} as a valid Salmon slap.");
if ($target instanceof User_group || $target->isGroup()) {
$uri = $target->getUri();
try {
$this->showNoticeListItem($nli);
} catch (Exception $e) {
- common_log(LOG_ERR, 'Error showing notice: ' . $e->getMessage());
+ common_log(LOG_ERR, 'Error showing notice '.$nli->getNotice()->getID().': ' . $e->getMessage());
$nli->out->element('p', 'error', sprintf(_('Error showing notice: %s'), $e->getMessage()));
}