Skip to content

Commit 7915c05

Browse files
Log exception message when parsing component graph fails
Signed-off-by: Tiyash Basu <[email protected]>
1 parent 3e7c2fe commit 7915c05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frequenz/sdk/microgrid/_graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ def refresh_from(
491491
try:
492492
_provisional.validate()
493493
except Exception as err:
494+
_logger.error("Failed to parse component graph: %s", err)
494495
raise InvalidGraphError(
495496
"Cannot populate component graph from provided input!"
496497
) from err

0 commit comments

Comments
 (0)