Logs failures to get host candidates.
This commit is contained in:
parent
7b21db735f
commit
7268fb7a75
@ -433,14 +433,19 @@ public class Agent
|
|||||||
component,
|
component,
|
||||||
preferredPort, minPort, maxPort, Transport.UDP);
|
preferredPort, minPort, maxPort, Transport.UDP);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (hostHarvesters.isEmpty())
|
||||||
|
logger.warning("No host harvesters available!");
|
||||||
|
}
|
||||||
|
|
||||||
for (CandidateHarvester harvester : hostHarvesters)
|
for (CandidateHarvester harvester : hostHarvesters)
|
||||||
{
|
{
|
||||||
harvester.harvest(component);
|
harvester.harvest(component);
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.fine("host candidate count: " +
|
if (component.getLocalCandidateCount() == 0)
|
||||||
component.getLocalCandidateCount());
|
logger.warning("Failed to gather any host candidates!");
|
||||||
|
|
||||||
//in case we are not trickling, apply other harvesters here
|
//in case we are not trickling, apply other harvesters here
|
||||||
if(!isTrickling())
|
if(!isTrickling())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user