mirror of
https://github.com/lutris/lutris
synced 2024-09-05 23:46:21 +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)
|
||||
except HTTPError as ex:
|
||||
logger.error("HTTP error: %s", ex)
|
||||
raise UnavailableGameError(_("The download of '%s' failed.") % downlink) from ex
|
||||
return []
|
||||
if not response:
|
||||
raise UnavailableGameError(_("The download of '%s' failed.") % downlink)
|
||||
logger.error("No download info obtained for %s", downlink)
|
||||
return []
|
||||
|
||||
expanded = []
|
||||
for field in ("checksum", "downlink"):
|
||||
|
|
Loading…
Reference in a new issue