Skip to content

Commit

Permalink
Merge pull request #1322 from alphagov/ignore-specific-package-import…
Browse files Browse the repository at this point in the history
…-errors

Ignore package import errors from 85f9f30b-4e09-4968-b24d-d4c68f17b9af
  • Loading branch information
kentsanggds authored Dec 18, 2024
2 parents 9091103 + 6d80dc4 commit 7c4802b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/ckan/v26/package_import_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def perform(package_id, *_args)
dataset = Dataset.find_or_initialize_by(uuid: package_id)
update_dataset_from_package(package, dataset)
rescue OpenURI::HTTPError
raise if Rails.env.production?
raise if Rails.env.production? && package_id != "85f9f30b-4e09-4968-b24d-d4c68f17b9af"
end

private
Expand Down

0 comments on commit 7c4802b

Please sign in to comment.