Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c16b16 commit 77bc4c7Copy full SHA for 77bc4c7
influxdb/exceptions.py
@@ -2,7 +2,7 @@ class InfluxDBClientError(Exception):
2
"""Raised when an error occurs in the request."""
3
def __init__(self, content, code=None):
4
if isinstance(content, type(b'')):
5
- content = content.decode('UTF-8', errors='replace')
+ content = content.decode('UTF-8', 'replace')
6
7
if code is not None:
8
message = "%s: %s" % (code, content)
0 commit comments