Skip to content

Commit

Permalink
fix(ingest): clarify tableau auth error messages (#6600)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Dec 2, 2022
1 parent df96e89 commit 308b4ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions metadata-ingestion/src/datahub/ingestion/source/tableau.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,12 @@ def make_tableau_client(self) -> Server:
return server
except ServerResponseError as e:
raise ValueError(
f"Unable to login with credentials provided: {str(e)}"
f"Unable to login (invalid credentials or missing permissions): {str(e)}"
) from e
except Exception as e:
raise ValueError(f"Unable to login: {str(e)}") from e
raise ValueError(
f"Unable to login (check your Tableau connection and credentials): {str(e)}"
) from e


class TableauConfig(
Expand Down

0 comments on commit 308b4ea

Please sign in to comment.