Catch more errors related to directory structure

This commit is contained in:
hartator
2015-09-04 23:34:43 -05:00
parent 30505bd98e
commit 0007a0d206

View File

@@ -93,7 +93,7 @@ class WaybackMachineDownloader
puts "#{file_url} # #{e}"
end
end
rescue Errno::ENAMETOOLONG, Errno::EINVAL => e
rescue StandardError => e
puts "#{file_url} # #{e}"
end
puts "#{file_url} -> #{file_path} (#{count}/#{file_list_curated.size})"