Skip to content

Commit

Permalink
bump bulkrax to get error tracking on relationship jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Aug 23, 2024
1 parent f0dee75 commit 7ae0393
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GIT

GIT
remote: https://github.com/samvera/bulkrax.git
revision: ec8be99e3678d2760381ca5b4e63aee2f288bde7
revision: 8e5a3babb67336b9cfd270253cd0f50d84daf7f8
branch: main
specs:
bulkrax (8.1.0)
Expand Down
8 changes: 8 additions & 0 deletions lib/reprocessor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ def with_id_lines
end
end

def lambda_missing_files
@lambda_missing_files ||= lambda { |line, _progress|
id = line.strip
file_set = FileSet.find(id)
Reprocessor.instance.error_log.error(id)
}
end

def lambda_create_relationships
@lambda_create_relationships ||= lambda { |line, _progress|
id = line.strip
Expand Down

0 comments on commit 7ae0393

Please sign in to comment.