From b5d222161cef5d9d05c889bcfc5bf360c9e17f2d Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Wed, 22 Nov 2023 23:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8B=E8=BD=BD=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/version.txt | 2 +- utils/download_progress.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/version.txt b/js/version.txt index f96c7aa..8df5f76 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.9.49beta2 \ No newline at end of file +3.9.49beta3 \ No newline at end of file diff --git a/utils/download_progress.py b/utils/download_progress.py index 2533f8b..ca78341 100644 --- a/utils/download_progress.py +++ b/utils/download_progress.py @@ -150,7 +150,8 @@ def file_downloads(files, save_path='download'): logger.info(localtime + ': {} download failed! Url: {}'.format(filename, fileUrl)) failedUrl.append(fileUrl) - except: + except Exception as e: + logger.info(f'链接{fileUrl}下载失败,由于出现了错误:{e}') failedUrl.append(fileUrl) if len(failedUrl):