in src/ApiForFhirMigrationTool.Function/Processors/FhirProcessor.cs [56:75]
public virtual async Task<ResponseModel> CheckProcessStatus(string statusUrl, Uri baseUri, string endpoint)
{
try
{
var statusRequest = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri(statusUrl),
};
HttpResponseMessage fhirResponse = await _fhirClient.Send(statusRequest, baseUri, endpoint);
ResponseModel processResponse = CreateStatusResponse(fhirResponse);
return processResponse;
}
catch
{
_logger?.LogError($"Error occurred at FhirProcessor:CheckProcessStatus().");
throw;
}
}