From 8d485f3b019bb9eb47bc73ca143600c865e3dd2b Mon Sep 17 00:00:00 2001 From: Omar Rodriguez Arenas Date: Tue, 15 Aug 2023 15:09:29 -0600 Subject: [PATCH 1/2] Add logger for standard expection At this point we were not logging the errors happening from attempts to create the AIP --- lib/pushmi_pullyu/cli.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pushmi_pullyu/cli.rb b/lib/pushmi_pullyu/cli.rb index 95cbbc7..512e7b3 100644 --- a/lib/pushmi_pullyu/cli.rb +++ b/lib/pushmi_pullyu/cli.rb @@ -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 From f5b7c75100d369af677e6bd29bbf26c5bb9c9661 Mon Sep 17 00:00:00 2001 From: Omar Rodriguez Arenas Date: Wed, 16 Aug 2023 10:45:48 -0600 Subject: [PATCH 2/2] Add CHANGELOG entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a6b8a..1bbafd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and releases in PushmiPullyu adheres to [Semantic Versioning](https://semver.org - Fix nil exception. [#314](https://github.com/ualbertalib/pushmi_pullyu/issues/314) - Bump rubocop from 1.28.1 to 1.54.1 [PR#348](https://github.com/ualbertalib/pushmi_pullyu/pull/348) - +- Add missing logging for standard exception ## [2.0.6] - 2023-03-17 - Fix URI concatenation for jupiter's base url. [#309](https://github.com/ualbertalib/pushmi_pullyu/issues/309)