Skip to content

Commit 873558b

Browse files
committed
missing raise_for_status requests library influxdata#832
1 parent fc0235e commit 873558b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

influxdb/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ def request(self, url, method='GET', params=None, data=None, stream=False,
340340
verify=self._verify_ssl,
341341
timeout=self._timeout
342342
)
343+
response.raise_for_status()
343344
break
344345
except (requests.exceptions.ConnectionError,
345346
requests.exceptions.HTTPError,

0 commit comments

Comments
 (0)