def METHOD_NAME(self, searchText, searchCat):
    try:
        listPlugins = self._getAvailablePlugins(searchText, searchCat)
        if not listPlugins:
            return []
        self.progressTotal = len(listPlugins)
        self._progressInit()
        self.listRemainingPlugins = [plugin['name'] for plugin in listPlugins]
        cGui().resetSearchResult()
        return listPlugins
    except Exception as error:
        VSlog('Error when search is initiate: ' + str(error))
        traceback.print_exc()
        self._progressForceClose()
        return []