Merge branch 'master' into staging

# Conflicts:
#	bauh/gems/appimage/controller.py
#	bauh/gems/arch/updates.py
This commit is contained in:
Vinicius Moreira
2022-12-12 07:53:51 -03:00
66 changed files with 249 additions and 245 deletions

View File

@@ -41,7 +41,7 @@ def check_for_update(logger: logging.Logger, http_client: HttpClient, i18n: I18n
Path(notifications_dir).mkdir(parents=True, exist_ok=True)
with open(release_file, 'w+') as f:
f.write('')
except:
except Exception:
logger.error("An error occurred while trying to create the update notification file: {}".format(release_file))
if tray:
@@ -54,5 +54,5 @@ def check_for_update(logger: logging.Logger, http_client: HttpClient, i18n: I18n
logger.warning("No official release found")
else:
logger.warning("No releases returned from the GitHub API")
except:
except Exception:
logger.error("An error occurred while trying to retrieve the current releases")