Some small cosmetic changes to scraper error messages.

This commit is contained in:
Leon Styhre 2020-07-31 15:20:55 +02:00
parent 3f9c43afb9
commit 9b23741bda
2 changed files with 2 additions and 2 deletions

View file

@ -145,7 +145,7 @@ void ScraperHttpRequest::update()
// Everything else is some sort of error.
LOG(LogError) << "ScraperHttpRequest network error (status: " << status<< ") - "
<< mReq->getErrorMsg();
setError(mReq->getErrorMsg());
setError("Network error: " + mReq->getErrorMsg());
}
// Download and write the media files to disk.

View file

@ -192,7 +192,7 @@ void ScreenScraperRequest::process(const std::unique_ptr<HttpReq>& req,
ss << "ScreenScraperRequest - Error parsing XML: " << parseResult.description();
std::string err = ss.str();
setError(err);
setError("ScreenScraper error:\n" + err);
LOG(LogError) << err;
LOG(LogError) << "ScreenScraperRequest - Additional information:";