Skip to content

Commit

Permalink
Add logger for standard expection
Browse files Browse the repository at this point in the history
At this point we were not logging the errors happening from attempts to
create the AIP
  • Loading branch information
lagoan committed Aug 15, 2023
1 parent 6c56ac0 commit 8d485f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pushmi_pullyu/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def run_preservation_cycle
# readding it to the queue as it will always fail
rescue PushmiPullyu::AIP::EntityInvalid => e
rescue StandardError => e
log_exception(e)
begin
queue.add_entity_in_timeframe(entity)
rescue PushmiPullyu::PreservationQueue::MaxDepositAttemptsReached => e
Expand Down

0 comments on commit 8d485f3

Please sign in to comment.