diff --git a/astrbot/core/zip_updator.py b/astrbot/core/zip_updator.py index 39df1c3da..beb4dbb6d 100644 --- a/astrbot/core/zip_updator.py +++ b/astrbot/core/zip_updator.py @@ -39,7 +39,6 @@ class RepoZipUpdator(): else: ret = self.github_api_release_parser(result) except BaseException: - logger.error("解析版本信息失败") raise Exception("解析版本信息失败") return ret diff --git a/astrbot/dashboard/routes/update.py b/astrbot/dashboard/routes/update.py index 788eca48c..d5e06e652 100644 --- a/astrbot/dashboard/routes/update.py +++ b/astrbot/dashboard/routes/update.py @@ -44,7 +44,7 @@ class UpdateRoute(Route): } ).__dict__ except Exception as e: - logger.error(traceback.format_exc()) + logger.warning(f"检查更新失败: {str(e)} (不影响除项目更新外的正常使用)") return Response().error(e.__str__()).__dict__ async def update_project(self):