-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance downloader with improved filesize validation and logging
- Introduced `InvalidFileSizeException` for better error handling. - Added `DownloadCachedStreamResult` class to encapsulate download results. - Refactored `validate_filesize` to raise exceptions and log invalid file sizes. - Enhanced logging with `get_invalid_filesize_log_string` for clearer messages. - Improved structure and readability of the downloader service.
- Loading branch information
1 parent
a882ab2
commit 2d3200e
Showing
2 changed files
with
34 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters