Skip to content

Commit

Permalink
Log what happened in case of pseudo cluster creation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq authored and woody-apple committed Aug 8, 2024
1 parent 91401c2 commit 9dd7f03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controller/python/chip/yaml/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,8 @@ def _commissioner_command_action_factory(self, test_step):
def _default_pseudo_cluster(self, test_step):
try:
return DefaultPseudoCluster(test_step)
except ActionCreationError:
except ActionCreationError as e:
logger.warn(f"Failed create default pseudo cluster: {e}")
return None

def encode(self, request) -> BaseAction:
Expand Down

0 comments on commit 9dd7f03

Please sign in to comment.