diff --git a/influxdb/client.py b/influxdb/client.py index df9ef966..faa87925 100644 --- a/influxdb/client.py +++ b/influxdb/client.py @@ -340,6 +340,7 @@ def request(self, url, method='GET', params=None, data=None, stream=False, verify=self._verify_ssl, timeout=self._timeout ) + response.raise_for_status() break except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError,