Updated code to use new WorkerLogEntry class

This commit is contained in:
2011-04-25 00:54:28 +01:00
parent 180e63c456
commit 4e58ac7135
2 changed files with 5 additions and 4 deletions

View File

@@ -30,7 +30,8 @@ class RippingCluster_Worker {
try {
$this->gearman->beginWork();
} catch (Net_Gearman_Exception $e) {
// Do stuff
RippingCluster_WorkerLogEntry::error(SihnonFramework_Main::instance()->log(), 0, $e->toText());
return false;
}
return true;