/** * Render block * * @return string */ public function _toHtml() { try { if (!$this->canRender()) { return ''; } return parent::_toHtml(); } catch (Exception $e) { $this->getLogger()->addException($e); return ''; } }
public function _toHtml() { try { if (!$this->canRender()) { return ''; } return parent::_toHtml(); } catch (Exception $e) { Mage::getModel('listrak/log')->addException($e); return ''; } }