Skip to content

Commit

Permalink
Do not keep going using take data if take fails (#33296)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
  • Loading branch information
2 people authored and pull[bot] committed May 8, 2024
1 parent df480bd commit 3849832
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/dnssd/Resolver_ImplMinimalMdns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ void MinMdnsResolver::AdvancePendingResolverStates()
if (err != CHIP_NO_ERROR)
{
ChipLogError(Discovery, "Failed to take discovery result: %" CHIP_ERROR_FORMAT, err.Format());
continue;
}

mActiveResolves.Complete(nodeData.operationalData.peerId);
Expand Down

0 comments on commit 3849832

Please sign in to comment.