mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 09:05:17 +00:00
Merge pull request #1429 from someones/es_error_propagation
Add missing error check from #1402
This commit is contained in:
commit
6f52c50adc
@ -369,7 +369,7 @@ class ElasticSearch(BaseElasticSearch):
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user