예제 #1
0
 protected function handleBufferedItemException($buffer, $item, Exception $e)
 {
     if (!isset(self::$exceptionDisplayTemplate)) {
         $tsys = $this->site->modules->get('TemplateSystem');
         self::$exceptionDisplayTemplate = $tsys->load('exceptionDisplay');
     }
     return self::$exceptionDisplayTemplate->render(array('exception' => $e, 'message' => "Error while processing buffer '{$buffer}' item"));
 }