public static function exception_handler(\Exception $e) { // Try and stop the cache try { \CMF\Cache::stop(); } catch (\Exception $e) { } parent::exception_handler($e); }