Update import.rb

Add logging for errors.