增加下载错误日志
This commit is contained in:
parent
02a61dcaa1
commit
b5d222161c
@ -1 +1 @@
|
||||
3.9.49beta2
|
||||
3.9.49beta3
|
||||
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user