Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exit with an error in the Rake import task when the index as not crea…
…ted in elasticsearch Previously, when the index could not be created due to eg. error in mapping, it was silently ignored and data were still indexed (with dynamic mapping). This was a source of hard-to-pin-down errors. When there's an error while creating the index, the Rake task will exit(1) and print the HTTP response, now. Closes karmi#392
- Loading branch information