From 9caccd1e5b14e8d11b977fdedfc8d111371c2d71 Mon Sep 17 00:00:00 2001 From: Nikolay Makhalin Date: Mon, 16 Mar 2026 18:18:47 +0100 Subject: [PATCH 1/3] Update credentials.py --- ydb/aio/credentials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/aio/credentials.py b/ydb/aio/credentials.py index 9edb8fe4..b90071ed 100644 --- a/ydb/aio/credentials.py +++ b/ydb/aio/credentials.py @@ -62,7 +62,7 @@ async def _refresh_token(self, should_raise=False): except Exception as e: self.last_error = str(e) - self.logger.error("Failed to refresh token async: %s", e) + self.logger.error("Failed to refresh token async: %s", e, exc_info=e) if should_raise: raise issues.ConnectionError( "%s: %s.\n%s" % (self.__class__.__name__, self.last_error, self.extra_error_message) From 2f8d64e1d6b7a93cb766e0d2d1d7b9f1936c834e Mon Sep 17 00:00:00 2001 From: Nikolay Makhalin Date: Mon, 16 Mar 2026 18:27:38 +0100 Subject: [PATCH 2/3] Update credentials.py --- ydb/aio/credentials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/aio/credentials.py b/ydb/aio/credentials.py index b90071ed..3bfac363 100644 --- a/ydb/aio/credentials.py +++ b/ydb/aio/credentials.py @@ -62,7 +62,7 @@ async def _refresh_token(self, should_raise=False): except Exception as e: self.last_error = str(e) - self.logger.error("Failed to refresh token async: %s", e, exc_info=e) + self.logger.error("Failed to refresh token async: %s", e, exc_info=True) if should_raise: raise issues.ConnectionError( "%s: %s.\n%s" % (self.__class__.__name__, self.last_error, self.extra_error_message) From 30a85098b6a8937555c980dd4a3fa1f92efbfb0f Mon Sep 17 00:00:00 2001 From: Nikolay Makhalin Date: Mon, 16 Mar 2026 18:28:17 +0100 Subject: [PATCH 3/3] Update credentials.py --- ydb/credentials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/credentials.py b/ydb/credentials.py index c7e1cec2..eca94e11 100644 --- a/ydb/credentials.py +++ b/ydb/credentials.py @@ -118,7 +118,7 @@ def _refresh_token(self, should_raise=False): except Exception as e: self.last_error = str(e) - self.logger.error("Failed to refresh token: %s", e) + self.logger.error("Failed to refresh token: %s", e, exc_info=True) if should_raise: raise issues.ConnectionError( "%s: %s.\n%s" % (self.__class__.__name__, self.last_error, self.extra_error_message)