Skip to content

Commit

Permalink
Fix parsing message
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Jun 12, 2024
1 parent 1c04e83 commit 74ce322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/databricks/labs/lsql/dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _parse_dashboard_metadata(dashboard_folder: Path) -> DashboardMetadata:
try:
raw = yaml.safe_load(dashboard_metadata_path.read_text())
except yaml.YAMLError as e:
logger.warning(f"Error '{e}' when parsing: {dashboard_metadata_path}")
logger.warning(f"Parsing {dashboard_metadata_path}: {e}")
return fallback_metadata
try:
return DashboardMetadata.from_dict(raw)
Expand Down

0 comments on commit 74ce322

Please sign in to comment.