Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfeng-db committed Nov 2, 2023
1 parent 9955c08 commit b1cba9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion databricks/sdk/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,10 @@ def __call__(self, cfg: 'Config') -> HeaderFactory:
return header_factory
except Exception as e:
raise ValueError(f'{auth_type}: {e}') from e
raise ValueError('cannot configure default credentials')
auth_flow_url = "https://github.com/databricks/databricks-sdk-py/tree/main#default-authentication-flow"
raise ValueError(
f'cannot configure default credentials, please check {auth_flow_url} to configure credentials for your preferred authentication method.'
)


class ConfigAttribute:
Expand Down

0 comments on commit b1cba9b

Please sign in to comment.