/** * Amon Exception handler * * @param Exception $e the exception * @return bool */ public static function exception_handler(\Exception $e) { self::handle_exception($e); $return = parent::exception_handler($e); if ($return !== null) { return $return; } }
public static function exception_handler(\Exception $e) { // Try and stop the cache try { \CMF\Cache::stop(); } catch (\Exception $e) { } parent::exception_handler($e); }