Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Add connectionreseterror to catcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed Dec 5, 2023
1 parent e02c2d4 commit 6df071b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.0.39"
__version__ = "5.0.41"
4 changes: 2 additions & 2 deletions cyberdrop_dl/downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ async def download(self, media_item: MediaItem) -> None:

raise DownloadFailure(status=getattr(e, "status", 1), message=repr(e))

except (aiohttp.ClientPayloadError, aiohttp.ClientOSError, aiohttp.ClientResponseError, DownloadFailure,
FileNotFoundError, PermissionError) as e:
except (aiohttp.ClientPayloadError, aiohttp.ClientOSError, aiohttp.ClientResponseError, ConnectionResetError,
DownloadFailure, FileNotFoundError, PermissionError) as e:
if await self._file_lock.check_lock(FL_Filename):
await self._file_lock.remove_lock(FL_Filename)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
version = "5.0.39"
version = "5.0.41"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 6df071b

Please sign in to comment.