Skip to content

Commit

Permalink
consistent error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nancyhung committed Oct 18, 2024
1 parent d321518 commit 3e64b3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llmfoundry/utils/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,8 @@ class ClusterInvalidAccessMode(UserError):
"""Error thrown when the cluster does not exist."""

def __init__(self, cluster_id: str, access_mode: str) -> None:
message = f'Cluster with id {cluster_id} has access mode {access_mode}, ' + \
'which is not compatible with Unity Catalog. Please provide another cluster and try again!'
message = f'The cluster you have provided: {cluster_id} does not have data governance enabled.' + \
'Please use a cluster with a data security mode other than NONE.'
super().__init__(
message,
cluster_id=cluster_id,
Expand Down

0 comments on commit 3e64b3e

Please sign in to comment.