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 d99fb2e commit 61f0ddaCopy full SHA for 61f0dda
databricks/sdk/credentials_provider.py
@@ -215,8 +215,9 @@ def external_browser(cfg: 'Config') -> Optional[CredentialsProvider]:
215
try:
216
credentials.token()
217
return credentials(cfg)
218
+ # TODO: we should ideally use more specific exceptions.
219
except Exception as e:
- logger.warning(f'Failed to refresh cached token: {e}, will init new OAuth login flow')
220
+ logger.warning(f'Failed to refresh cached token: {e}. Initiating new OAuth login flow')
221
222
oauth_client = OAuthClient(oidc_endpoints=oidc_endpoints,
223
client_id=client_id,
0 commit comments