Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
pritishpai committed Nov 18, 2024
1 parent 43c6a6a commit d8c1705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/databricks/labs/ucx/hive_metastore/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def _all_databases(self) -> list[str]:
if "py4j.security.Py4JSecurityException" in str(err):
logger.error(
"Failed to list databases due to Py4JSecurityException. "
"Ensure that the cluster is configured correctly."
"Update or reinstall UCX to resolve this issue."
f"Error details: {err}",
exc_info=True,
)
Expand All @@ -562,7 +562,7 @@ def _list_tables(self, database: str) -> list[str]:
if "py4j.security.Py4JSecurityException" in str(err):
logger.error(
"Failed to list databases due to Py4JSecurityException. "
"Ensure that the cluster is configured correctly."
"Update or reinstall UCX to resolve this issue."
f"Error details: {err}",
exc_info=True,
)
Expand Down

0 comments on commit d8c1705

Please sign in to comment.