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 15, 2024
1 parent a7a6d68 commit 930349e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions metadata-ingestion/src/datahub/ingestion/source/tableau.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,15 +1022,18 @@ def get_connection_object_page(
else:
other_errors.append(error)

self.report.warning(
message=f"Received error fetching Query Connection {connection_type}",
context=f"Errors: {other_errors}",
)
if other_errors:
self.report.warning(
message=f"Received error fetching Query Connection {connection_type}",
context=f"Errors: {other_errors}",
)

if permission_mode_errors:
self.report.warning(
title="Derived Permission Error",
message="Please check derived permissions as shared at https://community.tableau.com/s/question/0D54T00000QnjHbSAJ/how-to-fix-the-permissionsmodeswitched-error",
message="Turn on your derived permissions. See for details "
"https://community.tableau.com/s/question/0D54T00000QnjHbSAJ/how-to-fix-the"
"-permissionsmodeswitched-error",
context=f"{permission_mode_errors}",
)

Expand Down

0 comments on commit 930349e

Please sign in to comment.