Fixed an issue where the scraper didn't log correctly that a folder was scraped.

This commit is contained in:
Leon Styhre 2021-11-04 16:45:43 +01:00
parent 64b440037e
commit 1f3e76389c

View file

@ -41,7 +41,9 @@ std::unique_ptr<ScraperSearchHandle> startScraperSearch(const ScraperSearchParam
}
else {
LOG(LogDebug) << "Scraper::startScraperSearch(): Scraping system \""
<< params.system->getName() << "\", game file \""
<< params.system->getName()
<< (params.game->getType() == FOLDER ? "\", folder \"" :
"\", game file \"")
<< params.game->getFileName() << "\"";
scraper_request_funcs.at(name)(params, handle->mRequestQueue, handle->mResults);
}