We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09471dd commit b02994dCopy full SHA for b02994d
1 file changed
src/jmcomic/jm_downloader.py
@@ -287,7 +287,9 @@ def raise_if_have_exception(self):
287
if self.is_empty_download_failed:
288
return
289
ExceptionTool.raises(
290
- f'部分下载失败: 有{len(self.download_failed_photo)}个章节下载失败, {len(self.download_failed_image)}个图片下载失败',
+ f'部分下载失败: 有{len(self.download_failed_photo)}个章节下载失败, {len(self.download_failed_image)}个图片下载失败。\n' +
291
+ f'失败章节IDs: {[photo.id for photo, _ in self.download_failed_photo][:5]}{"..." if len(self.download_failed_photo) > 5 else ""}\n' +
292
+ f'失败图片URLs: {[image.download_url for image, _ in self.download_failed_image][:5]}{"..." if len(self.download_failed_image) > 5 else ""}',
293
{'downloader': self},
294
PartialDownloadFailedException,
295
)
0 commit comments