Skip to content

Commit

Permalink
Handle any exception ocurred during a download job
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Oct 12, 2024
1 parent e7b6685 commit abbdb83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.17.4] - 2024-10-12

### Fixed
- Long paths on Windows for all operations
- PyPI distribution missing dependency
- Just handle any exception from download job

### Added
- Add support for University of Evansville (@lukebsa)
Expand Down
2 changes: 1 addition & 1 deletion blackboard_sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def download(self) -> datetime | None:
except BBUnauthorizedError:
logger.exception("User session expired")
self.log_out()
except (RequestException, OSError):
except Exception:
logger.exception("Download error")
self._has_error = True

Expand Down

0 comments on commit abbdb83

Please sign in to comment.