Skip to content

Commit

Permalink
Merge branch 'MDL-28179' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jul 5, 2011
2 parents 60ee611 + 99fa974 commit ed436ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/eventslib.php
Expand Up @@ -345,7 +345,11 @@ function events_process_queued_handler($qhandler) {
} catch (Exception $e) {
// the problem here is that we do not want one broken handler to stop all others,
// cron handlers are very tricky because the needed data might have been deleted before the cron execution
$errormessage = "Handler function of component $handler->component: $handler->handlerfunction threw exception :".$e->getMessage();
$errormessage = "Handler function of component $handler->component: $handler->handlerfunction threw exception :" .
$e->getMessage() . "\n" . format_backtrace($e->getTrace(), true);
if (!empty($e->debuginfo)) {
$errormessage .= $e->debuginfo;
}
}

//dispatching failed
Expand Down

0 comments on commit ed436ad

Please sign in to comment.