fix(ingest): clarify tableau auth error messages (#6600)

This commit is contained in:
Harshal Sheth 2022-12-01 22:33:10 -05:00 committed by GitHub
parent df96e89557
commit 308b4eae87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,10 +186,12 @@ class TableauConnectionConfig(ConfigModel):
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(