Skip to content

Commit

Permalink
add logging for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Jan 13, 2025
1 parent 7d4aac3 commit 5e60deb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/related_identifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def push_data(result, _options = {})

def self.push_item(item)
Rails.logger.info("Related Identifier: push_item start")
Rails.logger.info("Related Identifier: #{item.inspect}")
attributes = item.fetch("attributes", {})
Rails.logger.info("Related Identifier: attributes -> #{attributes.inspect}")
doi = attributes.fetch("doi", nil)
Expand Down

0 comments on commit 5e60deb

Please sign in to comment.