Commit 823ab3168aed5ae0e4de27139d56b50c0ab0787c

  • avatar
  • Nigel McNie <nigel @cata…st.net.nz>
  • Mon Dec 22 23:53:23 CET 2008
Prevent an exception killing processing of the entire activity queue. Whoops!
  
190190 }
191191 $viewsnotified[$data->view] = true;
192192 }
193 handle_activity($activity->type, $data, true);
193 try {
194 handle_activity($activity->type, $data, true);
195 }
196 catch (MaharaException $e) {
197 // Exceptions can happen while processing the queue, we just
198 // log them and continue
199 log_debug($e->getMessage());
200 }
194201 }
195202 delete_records('activity_queue');
196203 }