Skip to content

Commit f305198

Browse files
committed
Added logging in the flush step
1 parent 547d55b commit f305198

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/databricks/sql/auth/thrift_http_client.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,14 @@ def flush(self):
192192
timeout=self.__timeout,
193193
retries=self.retry_policy,
194194
)
195-
195+
196196
# Get reply to flush the request
197197
self.code = self.__resp.status
198198
self.message = self.__resp.reason
199199
self.headers = self.__resp.headers
200200

201+
logger.info("HTTP Response with status code {}, message: {}".format(self.code, self.message))
202+
201203
@staticmethod
202204
def basic_proxy_auth_headers(proxy):
203205
if proxy is None or not proxy.username:

0 commit comments

Comments
 (0)