mirror of
https://github.com/lutris/lutris
synced 2024-10-14 19:53:53 +00:00
Remove messages about 'checking credentials' which are most unhelpful
This commit is contained in:
parent
a3e36e1650
commit
2052ad4d6c
|
@ -502,8 +502,7 @@ class AmazonService(OnlineService):
|
|||
if not response:
|
||||
logger.error("There was an error getting patches: %s", game_id)
|
||||
raise UnavailableGameError(_(
|
||||
"Unable to get the patches of game, "
|
||||
"please check your Amazon credentials and internet connectivity"), game_id)
|
||||
"Unable to get the patches of game"), game_id)
|
||||
return response
|
||||
|
||||
def get_game_patches(self, game_id, version, file_list):
|
||||
|
@ -580,7 +579,7 @@ class AmazonService(OnlineService):
|
|||
except HTTPError as ex:
|
||||
logger.error("Failed http request %s", fuel_url)
|
||||
raise UnavailableGameError(_(
|
||||
"Unable to get fuel.json file, please check your Amazon credentials")) from ex
|
||||
"Unable to get fuel.json file.")) from ex
|
||||
|
||||
try:
|
||||
res_yaml_text = request.text
|
||||
|
|
|
@ -173,7 +173,7 @@ class GOGService(OnlineService):
|
|||
request.get()
|
||||
except HTTPError as http_error:
|
||||
logger.error(http_error)
|
||||
logger.error("Failed to get token, check your GOG credentials.")
|
||||
logger.error("Failed to get token.")
|
||||
logger.warning("Clearing existing credentials")
|
||||
self.logout()
|
||||
return
|
||||
|
@ -226,10 +226,7 @@ class GOGService(OnlineService):
|
|||
try:
|
||||
request.get()
|
||||
except HTTPError:
|
||||
logger.error(
|
||||
"Failed to request %s, check your GOG credentials",
|
||||
url,
|
||||
)
|
||||
logger.error("Failed to request %s", url)
|
||||
return
|
||||
return request.json
|
||||
|
||||
|
|
|
@ -131,10 +131,7 @@ class HumbleBundleService(OnlineService):
|
|||
try:
|
||||
request.get()
|
||||
except HTTPError:
|
||||
logger.error(
|
||||
"Failed to request %s, check your Humble Bundle credentials",
|
||||
url,
|
||||
)
|
||||
logger.error("Failed to request %s", url)
|
||||
return
|
||||
return request.json
|
||||
|
||||
|
|
Loading…
Reference in a new issue