returning elasticsearch errors

so the caller would know what went wrong
Merge pull request #13 from marcelog/marcelog_returning_elasticsearch_errors

returning elasticsearch errors