lib/occams/seeds/page/importer.rb in occams-1.0.7.1 vs lib/occams/seeds/page/importer.rb in occams-1.0.7.2
- old
+ new
@@ -77,11 +77,10 @@
# cleaning up old fragments
page.fragments.where(identifier: old_frag_identifiers - new_frag_identifiers).destroy_all
else
- message = "[CMS SEEDS] Failed to import Page \n#{page.errors.inspect}"
- Occams.logger.warn(message)
+ Occams.logger.warn("[CMS SEEDS] Failed to import Page \n#{page.errors.inspect}")
end
end
import_translations(path, page)