Skip to content

Commit 4ccb849

Browse files
authored
Merge branch 'master' into chef_icd_contactsensor
2 parents 6763741 + 652f786 commit 4ccb849

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/darwin/Framework/CHIP/MTRDevice_XPC.mm

+5-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,11 @@ - (void)invokeCommands:(NSArray<NSArray<MTRCommandWithRequiredResponse *> *> *)c
552552
return;
553553
}
554554

555-
completion(responses, nil);
555+
if (error != nil) {
556+
MTR_LOG_ERROR("%@ got error trying to invokeCommands: %@", self, error);
557+
}
558+
559+
completion(responses, error);
556560
});
557561
}];
558562
} @catch (NSException * exception) {

0 commit comments

Comments
 (0)