17 lines
603 B
Diff
17 lines
603 B
Diff
Index: lib/alexandria/import_library.rb
|
|
===================================================================
|
|
--- lib/alexandria/import_library.rb (revision 1073)
|
|
+++ lib/alexandria/import_library.rb (working copy)
|
|
@@ -300,7 +300,11 @@
|
|
unless isbn[1]
|
|
bad_isbns << isbn[0]
|
|
else
|
|
- books << Alexandria::BookProviders.isbn_search(isbn[1])
|
|
+ begin
|
|
+ books << Alexandria::BookProviders.isbn_search(isbn[1])
|
|
+ rescue => e
|
|
+ puts e.message
|
|
+ end
|
|
end
|
|
rescue => e
|
|
puts e.message
|