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 committed Jul 24, 2024
1 parent e4d43b9 commit ade003f
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 ade003f

Please sign in to comment.