Skip to content

Commit 881676d

Browse files
Do not keep going using take data if take fails (project-chip#33296)
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
1 parent 0afc132 commit 881676d

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)