Skip to content

Commit

Permalink
fix: typo in Blacklight::Exceptions::RecordNotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
yetti committed Feb 9, 2024
1 parent 47a7613 commit 0f61ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def offsite
_, @document = search_service.fetch(params[:id])
# if for some reason we can't find the document title, just use the title from the eResource entry
t("offsite.other", title: @document.fetch("title_tsim", [@eresource[:entry]["title"]])&.first&.strip)
rescue Blacklight::Exception::RecordNotFound
rescue Blacklight::Exceptions::RecordNotFound
t("offsite.other", title: @eresource[:entry]["title"]&.strip)
end
end
Expand Down

0 comments on commit 0f61ca3

Please sign in to comment.