lib/pilot/tester_importer.rb in pilot-0.1.7 vs lib/pilot/tester_importer.rb in pilot-0.2.0
- old
+ new
@@ -18,11 +18,11 @@
if is_first
is_first = false
next
end
- first_name, last_name, email = row
+ first_name, last_name, email = row
unless email
Helper.log.error "No email found in row: #{row}".red
next
end
@@ -33,13 +33,12 @@
config[:email] = email
begin
tester_manager.add_tester(config)
imported_tester_count += 1
- rescue => ex
+ rescue
# do nothing, move on to the next row
end
-
end
Helper.log.info "Successfully imported #{imported_tester_count} testers from #{file}".green
end
end