Skip to content

Commit

Permalink
make target count part of the error message for children
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Nov 6, 2023
1 parent a86c2e5 commit 7d840a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iiif_print/jobs/create_relationships_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def perform(parent_id:, parent_model:, child_model:, retries: 0, **)
else
raise "CreateRelationshipsJob failed for parent id: #{@parent_id} " \
"had #{@number_of_successes} successes & #{@number_of_failures} failures, " \
"with errors: #{@errors}"
"with errors: #{@errors}. Wanted #{@pending_children} children."
end
else
# if we aren't ready yet, reschedule the job and end this one normally
Expand Down

0 comments on commit 7d840a4

Please sign in to comment.