lib/tasks/spotlight_tasks.rake in blacklight-spotlight-3.6.0.beta6 vs lib/tasks/spotlight_tasks.rake in blacklight-spotlight-3.6.0.beta7
- old
+ new
@@ -150,10 +150,10 @@
Blacklight.default_index.connection.update data: [sample_doc].to_json, headers: { 'Content-Type' => 'application/json' }
Blacklight.default_index.connection.delete_by_id id
print " OK\n"
rescue StandardError => e
errors += 1
- puts e.to_s
+ puts e
end
exit 1 if errors > 0
end
end