in src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Services/UploaderProxy/UploaderPathProvider.cs [17:35]
public string GetUploaderFullPath()
{
string? uploaderFullPath = null;
foreach (IPrioritizedUploaderLocator uploaderLocator in _uploaderLocators)
{
uploaderFullPath = uploaderLocator.Locate();
if (!string.IsNullOrEmpty(uploaderFullPath))
{
break;
}
}
if (string.IsNullOrEmpty(uploaderFullPath))
{
throw new InvalidOperationException("Uploader can't be located.");
}
return uploaderFullPath!;
}