Skip to content

Commit 8ec0731

Browse files
Add Matter.framwework logging for invoke work items that exceed timed invoke timeout. (project-chip#37179)
We should log what happened to the work item, not just silently complete it.
1 parent 1ae6ad6 commit 8ec0731

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/darwin/Framework/CHIP/MTRDevice_Concrete.mm

+1
Original file line numberDiff line numberDiff line change
@@ -3265,6 +3265,7 @@ - (void)_invokeCommandWithEndpointID:(NSNumber *)endpointID
32653265
if ([now compare:cutoffTime] == NSOrderedDescending) {
32663266
// Our timed invoke timeout has expired already. Command
32673267
// was queued for too long. Do not send it out.
3268+
MTR_LOG("Invoke work item [%llu] timed out its timed invoke timeout before being dispatched", workItemID);
32683269
workDone(nil, [MTRError errorForIMStatusCode:Status::Timeout]);
32693270
return;
32703271
}

0 commit comments

Comments
 (0)