From 8efc5e9f2295e340b0988e572d6fbccd9f3be40e Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 10 Oct 2023 17:16:55 +0200 Subject: [PATCH] Minor change to a ScreenScraper debug message --- es-app/src/scrapers/ScreenScraper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index cf53f2649..dac233507 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -416,7 +416,7 @@ void ScreenScraperRequest::processGame(const pugi::xml_document& xmldoc, LOG(LogDebug) << "ScreenScraperRequest::processGame(): Platform ID: " << platformID; LOG(LogDebug) << "ScreenScraperRequest::processGame(): Parent platform ID: " - << parentPlatformID; + << (parentPlatformID == 0 ? "n/a" : std::to_string(parentPlatformID)); // Validate rating. // Process the rating even if the setting to scrape ratings has been disabled.