Remove messages about 'checking credentials' which are most unhelpful

This commit is contained in:
Mathieu Comandon 2024-01-11 15:40:48 -08:00
parent a3e36e1650
commit 2052ad4d6c
3 changed files with 5 additions and 12 deletions

View file

@ -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

View file

@ -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

View file

@ -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