Commit 6c6d35cf authored by Nigel McNie's avatar Nigel McNie
Browse files

Prevent an exception killing processing of the entire activity queue. Whoops!

(cherry picked from commit 823ab316)
parent 5f9c0712
......@@ -199,7 +199,14 @@ function activity_process_queue() {
$viewsnotified[$data->view] = true;
handle_activity($activity->type, $data, true);
try {
handle_activity($activity->type, $data, true);
catch (MaharaException $e) {
// Exceptions can happen while processing the queue, we just
// log them and continue
Supports Markdown
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