mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
If the GOG API won't provide download links, we'll skip those files.
This commit is contained in:
parent
2052ad4d6c
commit
0cca6e1bd5
|
@ -293,9 +293,10 @@ class GOGService(OnlineService):
|
||||||
response = self.make_api_request(downlink)
|
response = self.make_api_request(downlink)
|
||||||
except HTTPError as ex:
|
except HTTPError as ex:
|
||||||
logger.error("HTTP error: %s", ex)
|
logger.error("HTTP error: %s", ex)
|
||||||
raise UnavailableGameError(_("The download of '%s' failed.") % downlink) from ex
|
return []
|
||||||
if not response:
|
if not response:
|
||||||
raise UnavailableGameError(_("The download of '%s' failed.") % downlink)
|
logger.error("No download info obtained for %s", downlink)
|
||||||
|
return []
|
||||||
|
|
||||||
expanded = []
|
expanded = []
|
||||||
for field in ("checksum", "downlink"):
|
for field in ("checksum", "downlink"):
|
||||||
|
|
Loading…
Reference in a new issue