Skip to content

Commit

Permalink
temp log change
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Jan 3, 2025
1 parent 7e1f60f commit d6ba7e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ def facet_total_count(field_name)
Rails.logger.info("Total unique facets for '#{field_name}': #{total_unique_facets}")
total_unique_facets
rescue StandardError => e
Rails.logger.error("Error retrieving facets for '#{field_name}': #{e.message}")
Rails.logger.error(e.backtrace.join("\n"))
# WIP: Change Later
Rails.logger.info("Error retrieving facets for '#{field_name}': #{e.message}")
Rails.logger.info(e.backtrace.join("\n"))
0
end

Expand Down

0 comments on commit d6ba7e9

Please sign in to comment.