示例#1
0
文件: EYiiron.php 项目: br0sk/yiiron
 public function workerCancelTask($task_id)
 {
     try {
         return $this->_worker->cancelTask($task_id);
     } catch (Exception $e) {
         Yii::log('Error in IronWorker: ' . $e->getMessage(), 'error', 'ext.yiiron');
         throw new CException($e->getMessage());
     }
 }