Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-acryl committed Jul 8, 2024
1 parent d5025d4 commit c2d2f6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ def __init__(self, config: LookMLSourceConfig, ctx: PipelineContext):
self.reporter._looker_api = self.looker_client
try:
self.looker_client.all_connections()
except SDKError:
except SDKError as err:
raise ValueError(
"Failed to retrieve connections from looker client. Please check to ensure that you have "
"manage_models permission enabled on this API key."
)
) from err

def _load_model(self, path: str) -> LookerModel:
logger.debug(f"Loading model from file {path}")
Expand Down

0 comments on commit c2d2f6b

Please sign in to comment.