/** * @Flow\AfterThrowing("Ttree\Scheduler\Aspect\LoggingAspect->allTasks") * @param JoinPoint $jointPoint * @throws \Exception */ public function logTaskException(JoinPoint $jointPoint) { /** @var Task $task */ $exception = $jointPoint->getException(); $this->systemLogger->logException($exception, array('task' => $jointPoint->getClassName())); }