lib/stanford-mods/searchworks.rb in stanford-mods-0.0.9 vs lib/stanford-mods/searchworks.rb in stanford-mods-0.0.10
- old
+ new
@@ -23,9 +23,10 @@
else
result << SEARCHWORKS_LANGUAGES[v.strip]
end
end
rescue => e
+ # TODO: this should be written to a logger
p "Couldn't find english name for #{ct.text}"
result << SEARCHWORKS_LANGUAGES[v.strip]
end
else
result << SEARCHWORKS_LANGUAGES[v.strip]