diff --git a/app/models/concerns/importable.rb b/app/models/concerns/importable.rb index b4da63b..814073b 100644 --- a/app/models/concerns/importable.rb +++ b/app/models/concerns/importable.rb @@ -42,10 +42,10 @@ def validate_prefix(doi) end def normalize_doi(doi) - Rails.logger.info("[Event Import Worker: normalize doi]") - Rails.logger.info("[Event Import Worker: normalize doi -> doi = #{doi}]") + Rails.logger.info("[Event Import Worker]: normalize doi method") + Rails.logger.info("[Event Import Worker]: normalize doi -> doi = #{doi}") doi = validate_doi(doi) - Rails.logger.info("[Event Import Worker: normalize doi (After validation) -> doi = #{doi}]") + Rails.logger.info("[Event Import Worker]: normalize doi (After validation) -> doi = #{doi}") return nil if doi.blank? # remove non-printing whitespace and downcase