Skip to content

Commit

Permalink
Merge pull request #1429 from someones/es_error_propagation
Browse files Browse the repository at this point in the history
Add missing error check from #1402
  • Loading branch information
arikfr authored Nov 25, 2016
2 parents 47c1ac8 + c449bfb commit 6f52c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def run_query(self, query, user):
url = "{0}/{1}/_search".format(self.server_url, index_name)
mapping_url = "{0}/{1}/_mapping".format(self.server_url, index_name)

mappings = self._get_mappings(mapping_url)
mappings, error = self._get_mappings(mapping_url)
if error:
return None, error

Expand Down

0 comments on commit 6f52c50

Please sign in to comment.