Skip to content

Commit 0a4be82

Browse files
committed
Do not keep going using take data if take fails
1 parent a8e4344 commit 0a4be82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/dnssd/Resolver_ImplMinimalMdns.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ void MinMdnsResolver::AdvancePendingResolverStates()
458458
if (err != CHIP_NO_ERROR)
459459
{
460460
ChipLogError(Discovery, "Failed to take discovery result: %" CHIP_ERROR_FORMAT, err.Format());
461+
continue;
461462
}
462463

463464
mActiveResolves.Complete(nodeData.operationalData.peerId);

0 commit comments

Comments
 (0)