Skip to content

Commit 63e956c

Browse files
authored
Merge pull request #363 from ualbertalib/add/missing_log
Add/missing log
2 parents 972569f + f5b7c75 commit 63e956c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and releases in PushmiPullyu adheres to [Semantic Versioning](https://semver.org
1010

1111
- Fix nil exception. [#314](https://github.com/ualbertalib/pushmi_pullyu/issues/314)
1212
- Bump rubocop from 1.28.1 to 1.54.1 [PR#348](https://github.com/ualbertalib/pushmi_pullyu/pull/348)
13-
13+
- Add missing logging for standard exception
1414
## [2.0.6] - 2023-03-17
1515

1616
- Fix URI concatenation for jupiter's base url. [#309](https://github.com/ualbertalib/pushmi_pullyu/issues/309)

lib/pushmi_pullyu/cli.rb

+1
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ def run_preservation_cycle
218218
# readding it to the queue as it will always fail
219219
rescue PushmiPullyu::AIP::EntityInvalid => e
220220
rescue StandardError => e
221+
log_exception(e)
221222
begin
222223
queue.add_entity_in_timeframe(entity)
223224
rescue PushmiPullyu::PreservationQueue::MaxDepositAttemptsReached => e

0 commit comments

Comments
 (0)