Commit d706a3e2 authored by Evan Prodromou's avatar Evan Prodromou

handle missing profile for notices better in NoticeList

parent 6968c96b
......@@ -96,8 +96,14 @@ class NoticeList extends Widget
break;
}
$item = $this->newListItem($this->notice);
$item->show();
try {
$item = $this->newListItem($this->notice);
$item->show();
} catch (Exception $e) {
// we log exceptions and continue
common_log(LOG_ERR, $e->getMessage());
continue;
}
}
$this->out->elementEnd('ol');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment