Skip to content

Commit c64ce60

Browse files
fix: use correct logger (#706)
1 parent 2b96e56 commit c64ce60

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## 1.51.0 [unreleased]
22

3+
### Bug Fixes
4+
5+
1. [#706](https://github.com/influxdata/influxdb-client-python/pull/706): Use logger instead logging.
6+
37
## 1.50.0 [2026-01-23]
48

59
### Features

influxdb_client/client/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _get_message(self, response):
3434
try:
3535
return json.loads(response.data)["message"]
3636
except Exception as e:
37-
logging.debug(f"Cannot parse error response to JSON: {response.data}, {e}")
37+
logger.debug(f"Cannot parse error response to JSON: {response.data}, {e}")
3838
return response.data
3939

4040
# Header

0 commit comments

Comments
 (0)