Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

♻️ Re-arrange method structure in hopes of not swallowing exception #670

Closed
wants to merge 2 commits into from

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Nov 22, 2023

We are observing that this job is raising an exception, which is then swallowed (and "pooped out" to the mailboxer notifications for the submitting user; which is not helpful when tracking down the particulars).

Confounding part is that the reported errors, don't seem to be affecting the attachment of files. In other words, we get a notification of failure but it worked (the majority of the time).

@jeremyf jeremyf force-pushed the amending-decorator-to-have-information branch from 60161aa to ad8f95e Compare November 22, 2023 17:52
We are observing that this job is raising an exception, which is then
swallowed (and "pooped out" to the mailboxer notifications for the
submitting user; which is not helpful when tracking down the
particulars).

Confounding part is that the reported errors, don't seem to be affecting
the attachment of files.  In other words, we get a notification of
failure but it worked (the majority of the time).

Co-authored-by: LaRita Robinson <[email protected]>
@jeremyf jeremyf force-pushed the amending-decorator-to-have-information branch from ad8f95e to f981c8f Compare November 22, 2023 18:33
Copy link
Contributor

@laritakr laritakr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fingers crossed that this works. I will do some testing before we approve & merge.

@laritakr laritakr marked this pull request as draft November 24, 2023 18:57
@laritakr
Copy link
Contributor

This did not work. I submitted a bunch of OAI ingests. The changes totally broke it. ImportUrlJob resubmitted itself 5 times and ended without doing anything, sending any notifications, or reporting any errors.

Copy link
Contributor

@laritakr laritakr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not work. ImportUrlJob resubmits 5 times and ends with no errors or notifications.

This was one of the test works: https://adl.s2.adventistdigitallibrary.org/concern/published_works/20088854_atlantic_union_gleaner_january_6_1904?locale=en

@jeremyf jeremyf closed this Dec 1, 2023
@jeremyf jeremyf deleted the amending-decorator-to-have-information branch December 1, 2023 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants