mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45:39 +00:00
Added proper handling for a scraper error condition.
This commit is contained in:
parent
8bf304b867
commit
32007b65bb
|
@ -646,8 +646,8 @@ void GuiScraperSearch::updateThumbnail()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOG(LogWarning) << "Thumbnail download failed: " << it->second->getErrorMsg();
|
|
||||||
mResultThumbnail->setImage("");
|
mResultThumbnail->setImage("");
|
||||||
|
onSearchError("Error downloading thumbnail:\n " + it->second->getErrorMsg());
|
||||||
}
|
}
|
||||||
|
|
||||||
mThumbnailReqMap.erase(it);
|
mThumbnailReqMap.erase(it);
|
||||||
|
|
Loading…
Reference in a new issue