Skip to content

Commit 4f1e98d

Browse files
committed
fix log
1 parent dd0c12d commit 4f1e98d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs_generator/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def get_brick_id_from_yaml(yaml_path):
1818
config = yaml.safe_load(f)
1919
id = config.get("id", None)
2020
return id.split(":")[1] if id and ":" in id else None
21-
except Exception:
22-
logger.warning("unable to get brick id")
21+
except Exception as e:
22+
logger.warning("unable to get brick id from yaml: %s", e)
2323
return None
2424

2525

0 commit comments

Comments
 (0)